TypeExtensions TypeExtensions Class

Definition

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 class TypeExtensions
Public Module TypeExtensions
Inheritance
System.ObjectSystem.Object
TypeExtensionsTypeExtensions

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

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

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

ToString() ToString()

Inherited from System.Object