Interface IDataConversionResult
Interface for the data conversion result.
Inherited Members
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
Namespace: Kephas.Data.Conversion
Assembly: Kephas.Data.dll
Syntax
public interface IDataConversionResult : IExpando, IDynamicMetaObjectProvider, IIndexable
Properties
| Improve this Doc View SourceException
Gets or sets the exception, if one occurred during conversion.
Declaration
Exception Exception { get; set; }
Property Value
Type | Description |
---|---|
System.Exception | The exception. |
Target
Gets or sets the target object as the result of the conversion.
Declaration
object Target { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The target object. |
Remarks
In the case that no target object was provided, the converter tries to identify one in the target data context based on the type and the ID from the source. The identified target is then set in the Target property of the IDataConversionResult, because the input target parameter in the ConvertAsync<TSource, TTarget>(TSource, TTarget, IDataConversionContext, CancellationToken) method is an input parameter.