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)

Inherited Members

System.Object

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

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

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