Ejemplo n.º 1
0
 /// <summary>
 /// Removes map between source and destination type.
 /// </summary>
 /// <returns>true if map was removed; false otherwise.</returns>
 public static bool RemoveMap(Type sourceType, Type destinationType)
 {
     return(MapResolver.Remove(sourceType, destinationType));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Removes map between source and destination type.
 /// </summary>
 /// <returns>true if map was removed; false otherwise.</returns>
 public static bool RemoveMap <TSource, TDestination>() where TDestination : new()
 {
     return(MapResolver.Remove <TSource, TDestination>());
 }