Class ConversionBuilderExtensions
This class provides generic specializations for IConfigureConversionBuilder.
Inheritance
System.Object
ConversionBuilderExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Nett
Assembly: Nett.dll
Syntax
public static class ConversionBuilderExtensions
Methods
|
Improve this Doc
View Source
ToToml<TCustom>(IConversionSettingsBuilder<TCustom, TomlBool>, Func<TCustom, Boolean>)
Declaration
public static IConversionSettingsBuilder<TCustom, TomlBool> ToToml<TCustom>(this IConversionSettingsBuilder<TCustom, TomlBool> cb, Func<TCustom, bool> conv)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
ToToml<TCustom>(IConversionSettingsBuilder<TCustom, TomlDuration>, Func<TCustom, TimeSpan>)
Declaration
public static IConversionSettingsBuilder<TCustom, TomlDuration> ToToml<TCustom>(this IConversionSettingsBuilder<TCustom, TomlDuration> cb, Func<TCustom, TimeSpan> conv)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
ToToml<TCustom>(IConversionSettingsBuilder<TCustom, TomlFloat>, Func<TCustom, Double>)
Declaration
public static IConversionSettingsBuilder<TCustom, TomlFloat> ToToml<TCustom>(this IConversionSettingsBuilder<TCustom, TomlFloat> cb, Func<TCustom, double> conv)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
ToToml<TCustom>(IConversionSettingsBuilder<TCustom, TomlInt>, Func<TCustom, Int64>)
Declaration
public static IConversionSettingsBuilder<TCustom, TomlInt> ToToml<TCustom>(this IConversionSettingsBuilder<TCustom, TomlInt> cb, Func<TCustom, long> conv)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
ToToml<TCustom>(IConversionSettingsBuilder<TCustom, TomlOffsetDateTime>, Func<TCustom, DateTimeOffset>)
Declaration
public static IConversionSettingsBuilder<TCustom, TomlOffsetDateTime> ToToml<TCustom>(this IConversionSettingsBuilder<TCustom, TomlOffsetDateTime> cb, Func<TCustom, DateTimeOffset> conv)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
ToToml<TCustom>(IConversionSettingsBuilder<TCustom, TomlString>, Func<TCustom, String>)
Declaration
public static IConversionSettingsBuilder<TCustom, TomlString> ToToml<TCustom>(this IConversionSettingsBuilder<TCustom, TomlString> cb, Func<TCustom, string> conv)
Parameters
Returns
Type Parameters
|
Improve this Doc
View Source
ToToml<TCustom>(IConversionSettingsBuilder<TCustom, TomlTable>, Action<TCustom, TomlTable>)
Declaration
public static IConversionSettingsBuilder<TCustom, TomlTable> ToToml<TCustom>(this IConversionSettingsBuilder<TCustom, TomlTable> cb, Action<TCustom, TomlTable> conv)
Parameters
Returns
Type Parameters