Пример #1
0
 public EnumerationValueMapper(TSource sourceValue, EnumerationMapperConfiguration <TSource, TTarget> enumerationMapperConfiguration)
 {
     _sourceValue = sourceValue;
     _enumerationMapperConfiguration = enumerationMapperConfiguration;
 }
Пример #2
0
 /// <summary>
 /// Allows configuration of custom mappings at runtime through the specified enumeration mapper configuration.
 /// </summary>
 /// <param name="configuration">An enumeration mapper configuration.</param>
 protected virtual void ConfigureMapper(EnumerationMapperConfiguration <TSource, TTarget> configuration)
 {
 }