Convention ConfigurationGet Attribute Name Property
Gets or sets a method that returns the attribute name for the given property or field.
The default uses the member name and converts it to all lower case letters.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public Func<MemberInfo, string> GetAttributeName { get; set; }VB
Public Property GetAttributeName As Func(Of MemberInfo, String)
Get
SetProperty Value
FuncMemberInfo, StringExample
The default is this:
C#
GetAttributeName = info => info.Name.ToLowerInvariant();