Exemplo n.º 1
0
 public MapperConfiguration(MapperConfigurationExpression configurationExpression)
     : this(configurationExpression, MapperRegistry.Mappers)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialize static configuration instance
 /// </summary>
 /// <param name="config">Configuration action</param>
 public static void Initialize(MapperConfigurationExpression config)
 {
     Configuration = new MapperConfiguration(config);
     Instance      = new Mapper(Configuration);
 }
Exemplo n.º 3
0
 public ConfigurationValidator(IConfigurationProvider config, MapperConfigurationExpression expression)
 {
     _validators = expression.Advanced.GetValidators();
     _config     = config;
     _expression = expression;
 }
 public MapperConfigurationExpressionValidator(MapperConfigurationExpression expression)
 {
     _expression = expression;
 }