Interface IConverter<TSource, TTarget>
Defines a value converter from the TSource type to the TTarget type.
Определяет конвертер значений из типа TSource в тип TTarget.
Namespace: Platform.Converters
Assembly: Platform.Converters.dll
Syntax
public interface IConverter<in TSource, out TTarget>
Type Parameters
| Name | Description |
|---|---|
| TSource | Source type of conversion. Исходный тип конверсии. |
| TTarget | Target type of conversion. Целевой тип конверсии. |
Methods
| Improve this Doc View SourceConvert(TSource)
Declaration
TTarget Convert(TSource source)
Parameters
| Type | Name | Description |
|---|---|---|
| TSource | source |
Returns
| Type | Description |
|---|---|
| TTarget |