private static void AddAlterations(AutoMappingAlterationCollection alterations, IEnumerable<Type> types) {
     foreach (var assembly in types.Select(t => t.Assembly).Distinct()) {
         alterations.Add(new AutoMappingOverrideAlteration(assembly));
         alterations.AddFromAssembly(assembly);
     }
     alterations.AddFromAssemblyOf<DataModule>();
 }
Exemple #2
0
 private static void AddAlterations(AutoMappingAlterationCollection alterations, IEnumerable <Type> types)
 {
     foreach (var assembly in types.Select(t => t.Assembly).Distinct())
     {
         alterations.Add(new AutoMappingOverrideAlteration(assembly));
         alterations.AddFromAssembly(assembly);
     }
     alterations.AddFromAssemblyOf <DataModule>();
 }
 public void CreateAlterationsContainer()
 {
     alterations = new AutoMappingAlterationCollection();
 }
 public void CreateAlterationsContainer()
 {
     alterations = new AutoMappingAlterationCollection();
 }