예제 #1
0
 /// <summary>
 /// Removes the default Mapper's cached data. Can be useful when testing code which uses
 /// the static Mapper API.
 /// </summary>
 public static void ResetDefaultInstance()
 {
     Default.Dispose();
     Default.Context.Reset();
 }
예제 #2
0
 /// <summary>
 /// Removes the default Mapper's cached data. Can be useful when testing code which uses
 /// the static Mapper API.
 /// </summary>
 public static void ResetDefaultInstance() => Default.Dispose();