61 references to AttributedModelServices
System.ComponentModel.Composition (61)
Microsoft\Internal\ReflectionServices.cs (1)
76return AttributedModelServices.GetTypeIdentity(((Type)member));
System\ComponentModel\Composition\AttributedModelServices.cs (11)
59return AttributedModelServices.CreatePartDefinition(type, origin, false); 93return AttributedModelServices.GetTypeIdentity(type); 100string contractName = AttributedModelServices.GetContractName(typeof(T)); 118string typeIdentity = AttributedModelServices.GetTypeIdentity(typeof(T)); 140ComposablePart part = AttributedModelServices.CreatePart(attributedPart); 154attributedParts.Select(AttributedModelServices.CreatePart).ToArray(), 183ComposablePart part = AttributedModelServices.CreatePart(attributedPart); 215ComposablePart part = AttributedModelServices.CreatePart(attributedPart, reflectionContext); 235return part.Exports(AttributedModelServices.GetContractName(contractType)); 266return part.Imports(AttributedModelServices.GetContractName(contractType)); 298return part.Imports(AttributedModelServices.GetContractName(contractType), importCardinality);
System\ComponentModel\Composition\ExportAttribute.cs (5)
22/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the type of the 48/// <see cref="AttributedModelServices.GetContractName(Type)"/> on 53/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the type of the 78/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the property or field 108/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the property or field
System\ComponentModel\Composition\ExportServices.cs (4)
85AttributedModelServices.GetMetadataView<M>(export.Metadata), 93AttributedModelServices.GetMetadataView<M>(export.Metadata), 119AttributedModelServices.GetMetadataView<M>(export.Metadata)!, 127AttributedModelServices.GetMetadataView<M>(export.Metadata)!,
System\ComponentModel\Composition\Hosting\CompositionConstants.cs (1)
28internal static readonly string PartCreatorTypeIdentity = AttributedModelServices.GetTypeIdentity(typeof(ComposablePartDefinition));
System\ComponentModel\Composition\Hosting\CompositionServices.cs (4)
115string typeIdentity = AttributedModelServices.GetTypeIdentity(typeIdentityType); 129return AttributedModelServices.GetTypeIdentity(method); 169return AttributedModelServices.GetContractName(contractType); 182return AttributedModelServices.GetTypeIdentity(contractType);
System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs (17)
38/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 89/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 134/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 187/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 245/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <paramref name="type"/>. 297/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 338/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 373/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 415/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 448/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 498/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 553/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 605/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 647/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 688/// <see cref="AttributedModelServices.GetContractName(Type)"/> on <typeparamref name="T"/>. 780contractName = AttributedModelServices.GetContractName(type); 806requiredTypeIdentity = AttributedModelServices.GetTypeIdentity(type);
System\ComponentModel\Composition\ImportAttribute.cs (4)
23/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the property, field, 47/// <see cref="AttributedModelServices.GetContractName(Type)"/> on 52/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the property, field, 76/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the property, field,
System\ComponentModel\Composition\ImportManyAttribute.cs (4)
23/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the element\item type of 47/// <see cref="AttributedModelServices.GetContractName(Type)"/> on 52/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the property, field, 76/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the property, field,
System\ComponentModel\Composition\InheritedExportAttribute.cs (5)
21/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the type itself, 46/// <see cref="AttributedModelServices.GetContractName(Type)"/> on 51/// <see cref="AttributedModelServices.GetContractName(Type)"/> on the type of the 76/// <see cref="AttributedModelServices.GetContractName(Type)"/> on 106/// <see cref="AttributedModelServices.GetContractName(Type)"/> on
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (3)
57/// The type identity of the export type expected. Use <see cref="AttributedModelServices.GetTypeIdentity(Type)"/> 118/// The type identity of the export type expected. Use <see cref="AttributedModelServices.GetTypeIdentity(Type)"/> 183/// A <see cref="string"/> that is generated by <see cref="AttributedModelServices.GetTypeIdentity(Type)"/>
System\ComponentModel\Composition\ReflectionModel\ExportfactoryCreator.cs (1)
63var metadataView = AttributedModelServices.GetMetadataView<M>(export.Metadata);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (1)
44_specializationIdentities[i] = AttributedModelServices.GetTypeIdentity(_specialization[i]);