/// <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)); }
/// <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>()); }