13 references to GenericServices
System.ComponentModel.Composition (13)
System\ComponentModel\Composition\AttributedModel\AttributedExportDefinition.cs (1)
56
metadata.Add(CompositionConstants.GenericExportParametersOrderMetadataName,
GenericServices
.GetGenericParametersOrder(_typeIdentityType));
System\ComponentModel\Composition\Hosting\CompositionServices.cs (4)
95
return
GenericServices
.GetGenericName(originalTypeIdentity,
GenericServices
.GetGenericParametersOrder(typeIdentityType),
GenericServices
.GetPureGenericArity(typeIdentityType));
506
metadata[CompositionConstants.GenericImportParametersOrderMetadataName] =
GenericServices
.GetGenericParametersOrder(type);
System\ComponentModel\Composition\Primitives\PrimitivesServices.cs (3)
40
contractName =
GenericServices
.GetGenericName(contractName, importParametersOrder, partArity);
84
string contractName =
GenericServices
.GetGenericName(contractBasedImport.ContractName, importParametersOrder, partArity);
85
string requiredTypeIdentity =
GenericServices
.GetGenericName(contractBasedImport.RequiredTypeIdentity!, importParametersOrder, partArity);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (4)
424
string[] specializationIdentities =
GenericServices
.Reorder(_specializationIdentities, genericParametersOrder);
446
metadata[CompositionConstants.GenericContractMetadataName] =
GenericServices
.GetGenericName(originalImport.ContractName, importParametersOrder, _specialization.Length);
447
metadata[CompositionConstants.GenericParametersMetadataName] =
GenericServices
.Reorder(_specialization, importParametersOrder);
582
if (!
GenericServices
.CanSpecialize(
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (1)
272
yield return
GenericServices
.Reorder(genericParameters, genericParametersOrder);