Interface IMemberNameResolver
Resolver to use customized tag and field names in LINQ queries.
Namespace: InfluxDB.Client.Linq
Assembly: InfluxDB.Client.Linq.dll
Syntax
public interface IMemberNameResolver
Methods
GetColumnName(MemberInfo)
Get name of property that will be use as a tag name or field name in InfluxDB.
Declaration
string GetColumnName(MemberInfo memberInfo)
Parameters
Type | Name | Description |
---|---|---|
MemberInfo | memberInfo | property |
Returns
Type | Description |
---|---|
System.String | Returns name of field or tag in InfluxDB |
GetNamedFieldName(MemberInfo, Object)
Get name of property for named field.
Declaration
string GetNamedFieldName(MemberInfo memberInfo, object value)
Parameters
Type | Name | Description |
---|---|---|
MemberInfo | memberInfo | property |
System.Object | value | value of expression |
Returns
Type | Description |
---|---|
System.String | Return name of property. |
ResolveMemberType(MemberInfo)
Get Type Of Member
Declaration
MemberType ResolveMemberType(MemberInfo memberInfo)
Parameters
Type | Name | Description |
---|---|---|
MemberInfo | memberInfo | for actual member |
Returns
Type | Description |
---|---|
MemberType | Type of member for actual member |