C​Sharp​Unique​Namer<​T> C​Sharp​Unique​Namer(​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)

Inherited Members

Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpNamer{{T}}

Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpNamer<T>.NameCacheMicrosoft.EntityFrameworkCore.Scaffolding.Internal.CSharpNamer<T>.NameCache

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

CSharpUniqueNamer(Func<T, String>) 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<T, String>, IEnumerable<String>) 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

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)