Ejemplo n.º 1
0
 /// <summary>
 /// Creates the mapping between <paramref name="source"/> and <paramref name="destination"/> using the SOURCE to generate candidate names for the mapping
 /// </summary>
 internal static List <Mapping> CreateUsingSource(Type source, Type destination, string removablePrefix = null)
 => CreateUsingSource(Types.WriteablePublicThings(source), Types.WriteablePublicThings(destination), removablePrefix);
Ejemplo n.º 2
0
 /// <summary>
 /// Creates the mapping between <paramref name="sourceMappings"/> and <paramref name="destination"/> using the SOURCE to generate candidate names for the mapping
 /// </summary>
 internal static List <Mapping> CreateUsingSource(IReadOnlyCollection <Thing> sourceMappings, Type destination, string removablePrefix = null)
 => CreateUsingSource(sourceMappings, Types.WriteablePublicThings(destination), removablePrefix);
Ejemplo n.º 3
0
 /// <summary>
 /// Creates the mapping between <paramref name="sourceMappings"/> and <paramref name="destinationMappings"/> using the DESTINATION to generate candidate names for the mapping
 /// </summary>
 internal static List <Mapping> CreateUsingDestination(Type source, IReadOnlyCollection <Thing> destinationMappings, string removablePrefix = null)
 => CreateUsingDestination(Types.WriteablePublicThings(source), destinationMappings, removablePrefix);