/// <summary> /// Removes map between source and destination type. /// </summary> /// <param name="sourceType">The sourceType<see cref="Type"/></param> /// <param name="destinationType">The destinationType<see cref="Type"/></param> /// <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> /// <typeparam name="TSource"></typeparam> /// <typeparam name="TDestination"></typeparam> /// <returns>true if map was removed; false otherwise.</returns> public static bool RemoveMap <TSource, TDestination>() where TDestination : new() { return(MapResolver.Remove <TSource, TDestination>()); }