IProjectionConfigContinuation <TSource, TTarget> IConditionalRootProjectionConfigurator <TSource, TTarget> .MapTo <TDerivedResult>() { IProjectionDerivedPairTargetTypeSpecifier <TSource, TTarget> derivedTypePair = new DerivedPairTargetTypeSpecifier <TSource, TSource, TTarget>(ConfigInfo); return(derivedTypePair.To <TDerivedResult>()); }
public IMappingConfigContinuation <TSource, TTarget> MapTo <TDerivedTarget>() where TDerivedTarget : TTarget { var derivedTypePair = new DerivedPairTargetTypeSpecifier <TSource, TSource, TTarget>(ConfigInfo); return(derivedTypePair.To <TDerivedTarget>()); }