Interface IStringConverter
Interface for a converter from and to String.
Namespace: Loehnert.Lisrt.Modules.Configuration
Assembly: Loehnert.Lisrt.Modules.dll
Syntax
public interface IStringConverter
Methods
ConvertToObject(String, Type)
Declaration
object ConvertToObject(string value, Type type)
Parameters
Type | Name | Description |
---|---|---|
String | value | Value as String. |
System.Type | type | Target type to convert. |
Returns
Type | Description |
---|---|
Object | An Object with the given value and System.Type. |
ConvertToString(Object)
Convert the value of an object to string.
Declaration
string ConvertToString(object value)
Parameters
Type | Name | Description |
---|---|---|
Object | value | Any Object with value. |
Returns
Type | Description |
---|---|
String | String representing the value. |