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