Interface ITypeConverter
A type converter can convert values between different types encountered during expression
evaluation.
TODO: This interface is not complete
Assembly: Steeltoe.Common.Abstractions.dll
Syntax
public interface ITypeConverter
Properties
|
Edit this page
View Source
ConversionService
Declaration
IConversionService ConversionService { get; set; }
Property Value
Methods
|
Edit this page
View Source
CanConvert(Type, Type)
Declaration
bool CanConvert(Type source, Type target)
Parameters
Type |
Name |
Description |
Type |
source |
|
Type |
target |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
ConvertValue(Object, Type, Type)
Declaration
object ConvertValue(object value, Type source, Type target)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Type |
source |
|
Type |
target |
|
Returns
Type |
Description |
System.Object |
|