Exemplo n.º 1
0
 internal static void Seal(this Features <IRuntimeFeature> features, IConfigurationProvider configurationProvider)
 {
     features.ForAll(feature => feature.Seal(configurationProvider));
     features.MakeReadOnly();
 }
Exemplo n.º 2
0
 public static void ReverseTo(this Features <IMappingFeature> features, Features <IMappingFeature> reversedFeatures) => features.ForAll(feature =>
 {
     var reverse = feature.Reverse();
     if (reverse != null)
     {
         reversedFeatures.Set(reverse);
     }
 });
Exemplo n.º 3
0
 internal static void Configure(this Features <IMappingFeature> features, TypeMap typeMap) => features.ForAll(feature => feature.Configure(typeMap));
Exemplo n.º 4
0
 internal static void Configure(this Features <IGlobalFeature> features, MapperConfiguration mapperConfiguration) => features.ForAll(feature => feature.Configure(mapperConfiguration));