1 write to _type
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (1)
31
_type
= type;
18 references to _type
System.ComponentModel.Composition (18)
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (18)
39
return
_type
;
51
_constructor = SelectPartConstructor(
_type
);
58
return
_type
.GetPartMetadataForType(CreationPolicy);
92
if (
_type
.IsAttributeDefined<PartNotDiscoverableAttribute>())
94
CompositionTrace.DefinitionMarkedWithPartNotDiscoverableAttribute(
_type
);
101
CompositionTrace.DefinitionContainsNoExports(
_type
);
118
return GetExportMembers(
_type
).Any() ||
119
GetInheritedExports(
_type
).Any();
125
if (
_type
.ContainsGenericParameters)
127
int partGenericArity =
_type
.GetPureGenericArity();
130
foreach (MemberInfo member in GetExportMembers(
_type
).Concat(GetInheritedExports(
_type
)))
138
CompositionTrace.DefinitionMismatchedExportArity(
_type
, member);
146
CompositionTrace.DefinitionMismatchedExportArity(
_type
, member);
178
_partCreationPolicy ??=
_type
.GetFirstAttribute<PartCreationPolicyAttribute>() ?? PartCreationPolicyAttribute.Default;
263
foreach (MemberInfo member in GetExportMembers(
_type
))
292
foreach (Type type in GetInheritedExports(
_type
))
421
foreach (MemberInfo member in GetImportMembers(
_type
))