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

Constructors

CSharpUniqueNamer(Func) CSharpUniqueNamer(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 CSharpUniqueNamer(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)

CSharpUniqueNamer(Func, IEnumerable) CSharpUniqueNamer(Func(Of T, String), IEnumerable(Of 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 CSharpUniqueNamer(Func<T, string> nameGetter, IEnumerable<string> usedNames)
Public Sub New(nameGetter As Func(Of T, String), usedNames As IEnumerable(Of String))
Parameters
nameGetter
System.Func<T, System.String> System.Func(Of T, System.String)
usedNames
System.Collections.Generic.IEnumerable<System.String> System.Collections.Generic.IEnumerable(Of System.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 override string GetName(T item)
Public Overrides Function GetName(item As T) As String
Parameters
item
T T
Returns
System.String System.String
Overrides
Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpNamer<T>.GetName(T)Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpNamer<T>.GetName(T)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

NameCache NameCache

Inherited from Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpNamer<T>

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object