Interface TomlSettings.ITypeSettingsBuilder<TCustom>
Namespace: Nett
Assembly: Nett.dll
Syntax
public interface ITypeSettingsBuilder<TCustom>
Type Parameters
Methods
|
Improve this Doc
View Source
CreateInstance(Func<TCustom>)
Declaration
TomlSettings.ITypeSettingsBuilder<TCustom> CreateInstance(Func<TCustom> func)
Parameters
Type |
Name |
Description |
System.Func<TCustom> |
func |
|
Returns
|
Improve this Doc
View Source
IgnoreProperty<TProperty>(Expression<Func<TCustom, TProperty>>)
Declaration
TomlSettings.ITypeSettingsBuilder<TCustom> IgnoreProperty<TProperty>(Expression<Func<TCustom, TProperty>> accessor)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Func<TCustom, TProperty>> |
accessor |
|
Returns
Type Parameters
Name |
Description |
TProperty |
|
|
Improve this Doc
View Source
Include(String, BindingFlags)
Declaration
TomlSettings.ITypeSettingsBuilder<TCustom> Include(string memberName, BindingFlags bindFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)
Parameters
Type |
Name |
Description |
System.String |
memberName |
|
System.Reflection.BindingFlags |
bindFlags |
|
Returns
|
Improve this Doc
View Source
Include<TMember>(Expression<Func<TCustom, TMember>>)
Declaration
TomlSettings.ITypeSettingsBuilder<TCustom> Include<TMember>(Expression<Func<TCustom, TMember>> selector)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Func<TCustom, TMember>> |
selector |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Map(String, BindingFlags)
Declaration
TomlSettings.IMappingBuilder<TCustom> Map(string memberName, BindingFlags bindFlags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)
Parameters
Type |
Name |
Description |
System.String |
memberName |
|
System.Reflection.BindingFlags |
bindFlags |
|
Returns
|
Improve this Doc
View Source
Map<TMember>(Expression<Func<TCustom, TMember>>)
Declaration
TomlSettings.IMappingBuilder<TCustom> Map<TMember>(Expression<Func<TCustom, TMember>> selector)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<System.Func<TCustom, TMember>> |
selector |
|
Returns
Type Parameters
|
Improve this Doc
View Source
TreatAsInlineTable()
Declaration
TomlSettings.ITypeSettingsBuilder<TCustom> TreatAsInlineTable()
Returns
|
Improve this Doc
View Source
WithConversionFor<TToml>(Action<IConversionSettingsBuilder<TCustom, TToml>>)
Declaration
TomlSettings.ITypeSettingsBuilder<TCustom> WithConversionFor<TToml>(Action<IConversionSettingsBuilder<TCustom, TToml>> conv)
where TToml : TomlObject
Parameters
Returns
Type Parameters