Selaa lähdekoodia

VAutoMapper allow manual config and flush

HOME 3 vuotta sitten
vanhempi
commit
ddbb97f10a
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      VCommon.VAutoMapper/VAutoMapper.cs

+ 2 - 2
VCommon.VAutoMapper/VAutoMapper.cs

@@ -20,7 +20,7 @@ namespace VCommon.VAutoMapper
             FlushMapper();
             FlushMapper();
         }
         }
 
 
-        internal static void FlushMapper() => Config.FlushMapper();
+        public static void FlushMapper() => Config.FlushMapper();
 
 
         internal static void ConfigMapping(Type type)
         internal static void ConfigMapping(Type type)
         {
         {
@@ -35,7 +35,7 @@ namespace VCommon.VAutoMapper
             }
             }
         }
         }
 
 
-        internal static void ConfigMapping(Type from, Type to)
+        public static void ConfigMapping(Type from, Type to)
         {
         {
             var cfg = Config.CreateMap(from, to);
             var cfg = Config.CreateMap(from, to);