Class TomlTableToTypedDictionaryConverter
Inheritance
System.Object
TomlTableToTypedDictionaryConverter
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 class TomlTableToTypedDictionaryConverter : ITomlConverter
Properties
| Improve this Doc View SourceFromType
Declaration
public Type FromType { get; }
Property Value
Type | Description |
---|---|
System.Type |
TomlTargetType
Declaration
public TomlObjectType? TomlTargetType { get; }
Property Value
Type | Description |
---|---|
System.Nullable<TomlObjectType> |
Methods
| Improve this Doc View SourceCanConvertFrom(Type)
Declaration
public bool CanConvertFrom(Type t)
Parameters
Type | Name | Description |
---|---|---|
System.Type | t |
Returns
Type | Description |
---|---|
System.Boolean |
CanConvertTo(Type)
Declaration
public bool CanConvertTo(Type t)
Parameters
Type | Name | Description |
---|---|---|
System.Type | t |
Returns
Type | Description |
---|---|
System.Boolean |
CanConvertToToml()
Declaration
public bool CanConvertToToml()
Returns
Type | Description |
---|---|
System.Boolean |
Convert(ITomlRoot, Object, Type)
Declaration
public object Convert(ITomlRoot root, object value, Type targetType)
Parameters
Type | Name | Description |
---|---|---|
ITomlRoot | root | |
System.Object | value | |
System.Type | targetType |
Returns
Type | Description |
---|---|
System.Object |