Show / Hide Table of Contents

Interface IDataConversionResult

Interface for the data conversion result.

Inherited Members
IExpando.HasDynamicMember(String)
IExpando.ToDictionary(Func<String, String>, Func<Object, Object>)
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
IIndexable.Item[String]
Namespace: Kephas.Data.Conversion
Assembly: Kephas.Data.dll
Syntax
public interface IDataConversionResult : IExpando, IDynamicMetaObjectProvider, IIndexable

Properties

| Improve this Doc View Source

Exception

Gets or sets the exception, if one occurred during conversion.

Declaration
Exception Exception { get; set; }
Property Value
Type Description
System.Exception

The exception.

| Improve this Doc View Source

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.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX