61 references to AttributedModelServices
System.ComponentModel.Composition (61)
Microsoft\Internal\ReflectionServices.cs (1)
76
return
AttributedModelServices
.GetTypeIdentity(((Type)member));
System\ComponentModel\Composition\AttributedModelServices.cs (11)
59
return
AttributedModelServices
.CreatePartDefinition(type, origin, false);
93
return
AttributedModelServices
.GetTypeIdentity(type);
100
string contractName =
AttributedModelServices
.GetContractName(typeof(T));
118
string typeIdentity =
AttributedModelServices
.GetTypeIdentity(typeof(T));
140
ComposablePart part =
AttributedModelServices
.CreatePart(attributedPart);
154
attributedParts.Select(
AttributedModelServices
.CreatePart).ToArray(),
183
ComposablePart part =
AttributedModelServices
.CreatePart(attributedPart);
215
ComposablePart part =
AttributedModelServices
.CreatePart(attributedPart, reflectionContext);
235
return part.Exports(
AttributedModelServices
.GetContractName(contractType));
266
return part.Imports(
AttributedModelServices
.GetContractName(contractType));
298
return 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)
85
AttributedModelServices
.GetMetadataView<M>(export.Metadata),
93
AttributedModelServices
.GetMetadataView<M>(export.Metadata),
119
AttributedModelServices
.GetMetadataView<M>(export.Metadata)!,
127
AttributedModelServices
.GetMetadataView<M>(export.Metadata)!,
System\ComponentModel\Composition\Hosting\CompositionConstants.cs (1)
28
internal static readonly string PartCreatorTypeIdentity =
AttributedModelServices
.GetTypeIdentity(typeof(ComposablePartDefinition));
System\ComponentModel\Composition\Hosting\CompositionServices.cs (4)
115
string typeIdentity =
AttributedModelServices
.GetTypeIdentity(typeIdentityType);
129
return
AttributedModelServices
.GetTypeIdentity(method);
169
return
AttributedModelServices
.GetContractName(contractType);
182
return
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"/>.
780
contractName =
AttributedModelServices
.GetContractName(type);
806
requiredTypeIdentity =
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)
63
var metadataView =
AttributedModelServices
.GetMetadataView<M>(export.Metadata);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (1)
44
_specializationIdentities[i] =
AttributedModelServices
.GetTypeIdentity(_specialization[i]);