private Mapper(MapperContext context) { Context = context; Context.Mapper = this; }
public static Expression GetValueConversion(this MapperContext context, Expression value, Type targetType) => context.ValueConverters.GetConversion(value, targetType);
public MappingExecutor(TSource source, MapperContext mapperContext) { _source = source; MapperContext = mapperContext; }
public static Member GetIdentifierOrNull(this MapperContext context, Type type) => context.Naming.GetIdentifierOrNull(type);
public ProjectionExecutor(MapperContext mapperContext, IQueryable <TSourceElement> sourceQueryable) { _mapperContext = mapperContext; _sourceQueryable = sourceQueryable; }
public MappingExecutor(MappingRuleSet ruleSet, MapperContext mapperContext) { RuleSet = ruleSet; MapperContext = mapperContext; }
private Mapper(MapperContext mapperContext) { _mapperContext = mapperContext; }
public MappingExecutor(TSource source, MapperContext mapperContext) { _source = source; MapperContext = mapperContext.ThrowIfDisposed(); }