CSharpNamer<T> CSharpNamer(Of T) 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 class CSharpNamer<T>
Public Class CSharpNamer(Of T)
Type Parameters
T
Inheritance
System.ObjectSystem.Object
CSharpNamer<T>CSharpNamer(Of T)

Constructors

CSharpNamer(Func) CSharpNamer(Func(Of T, String))

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 CSharpNamer(Func<T, string> nameGetter)
Public Sub New(nameGetter As Func(Of T, String))
Parameters
nameGetter
System.Func<T, System.String> System.Func(Of T, System.String)

Fields

NameCache NameCache

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.

protected readonly Dictionary<T, string> NameCache
Protected ReadOnly NameCache As Dictionary(Of T, String)

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetName(T) GetName(T)

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 virtual string GetName(T item)
Public Overridable Function GetName(item As T) As String
Parameters
item
T T
Returns
System.String System.String

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object