Exemplo n.º 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();
 }
Exemplo n.º 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();