Exemplo n.º 1
0
 public static void IgnoreUnmapped <TSrc, TDest>(this IProfileExpression profile)
 {
     profile.IgnoreUnmapped(typeof(TSrc), typeof(TDest));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Ignore all properties from source member that's not available on destination
 /// </summary>
 /// <typeparam name="TSrc"></typeparam>
 /// <typeparam name="TDst"></typeparam>
 /// <param name="profile"></param>
 internal static void IgnoreUnmapped <TSrc, TDst>(this IProfileExpression profile) =>
 profile.IgnoreUnmapped(typeof(TSrc), typeof(TDst));
Exemplo n.º 3
0
 public static void IgnoreUnmapped(this IProfileExpression profile, Type src, Type dest)
 {
     profile.IgnoreUnmapped((TypeMap map) => map.SourceType == src && map.DestinationType == dest);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Ignore all properties from source member that's not available on destination
 /// </summary>
 /// <param name="profile"></param>
 /// <param name="src"></param>
 /// <param name="dest"></param>
 internal static void IgnoreUnmapped(this IProfileExpression profile, Type src, Type dest) =>
 profile.IgnoreUnmapped(map => map.SourceType == src && map.DestinationType == dest);