예제 #1
0
 /// <summary>
 /// Configures the mappings from source types to target types against the global mapping cache.
 /// </summary>
 /// <param name="map">A mapping configuration function</param>
 public static IMappingContainer Map <TSource, TTarget>(Action <Mapping <TSource, TTarget> > map) where TSource : class where TTarget : class
 {
     return(GlobalContainer.Map(map));
 }