TypeExtensions TypeExtensions Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public static class TypeExtensionsPublic Module TypeExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • TypeExtensions
    TypeExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods

  • DisplayName(Type, Boolean)
    DisplayName(Type, Boolean)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public static string DisplayName(this Type type, bool fullName = true)<ExtensionAttribute>
    Public Shared Function DisplayName(type As Type, fullName As Boolean = True) As String

    Parameters

    • type
      System.Type
      System.Type
    • fullName
      System.Boolean
      System.Boolean

    Returns

    • System.String
      System.String
  • IsDefaultValue(Type, Object)
    IsDefaultValue(Type, Object)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public static bool IsDefaultValue(this Type type, object value)<ExtensionAttribute>
    Public Shared Function IsDefaultValue(type As Type, value As Object) As Boolean

    Parameters

    • type
      System.Type
      System.Type
    • value
      System.Object
      System.Object

    Returns

    • System.Boolean
      System.Boolean
  • ShortDisplayName(Type)
    ShortDisplayName(Type)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public static string ShortDisplayName(this Type type)<ExtensionAttribute>
    Public Shared Function ShortDisplayName(type As Type) As String

    Parameters

    • type
      System.Type
      System.Type

    Returns

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.dll