Exemple #1
0
 /// <summary>
 /// Registers Properties Mapping Delegate.
 /// </summary>
 /// <typeparam name="TSource">Source param type.</typeparam>
 /// <typeparam name="TDest">Destanation param type.</typeparam>
 /// <param name="propertiesMapper">Properties Mapping Delegate factory.</param>
 public static void Register <TSource, TDest>(IPropertiesMapper <TSource, TDest> propertiesMapper)
 {
     if (!RegisterAllIfMultipleMappings(propertiesMapper))
     {
         MappingResolver.Register(propertiesMapper);
     }
 }