6 instantiations of LazyMemberInfo
System.ComponentModel.Composition (6)
System\ComponentModel\Composition\AttributedModel\AttributedModelDiscovery.cs (2)
119
new
LazyMemberInfo
(member),
136
new
LazyMemberInfo
(member),
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (2)
300
LazyMemberInfo importingMember = new
LazyMemberInfo
(lazyMember.MemberType, () => GetAccessors(lazyMember));
407
LazyMemberInfo exportingMember = new
LazyMemberInfo
(capturedLazyMember.MemberType, () => GetAccessors(capturedLazyMember));
System\ComponentModel\Composition\ReflectionModel\ReflectionExtensions.cs (2)
57
return new
LazyMemberInfo
(MemberTypes.Property, accessors);
61
return new
LazyMemberInfo
(member);
46 references to LazyMemberInfo
System.ComponentModel.Composition (46)
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (21)
25
private List<
LazyMemberInfo
>? _members;
27
private Dictionary<
LazyMemberInfo
, MemberInfo[]>? _membersTable;
109
private MemberInfo[] GetAccessors(
LazyMemberInfo
originalLazyMember)
140
List<
LazyMemberInfo
>? members = null;
159
Dictionary<
LazyMemberInfo
, MemberInfo[]> membersTable = BuildMembersTable(members!);
177
private Dictionary<
LazyMemberInfo
, MemberInfo[]> BuildMembersTable(List<
LazyMemberInfo
> members)
181
Dictionary<
LazyMemberInfo
, MemberInfo[]> membersTable = new Dictionary<
LazyMemberInfo
, MemberInfo[]>();
218
foreach (
LazyMemberInfo
lazyMemberInfo in members)
262
private List<ImportDefinition> PopulateImports(List<
LazyMemberInfo
> members, List<Lazy<ParameterInfo>> parameters)
281
private ImportDefinition TranslateImport(ReflectionImportDefinition reflectionImport, List<
LazyMemberInfo
> members, List<Lazy<ParameterInfo>> parameters)
299
LazyMemberInfo
lazyMember = memberImport.ImportingLazyMember;
300
LazyMemberInfo
importingMember = new LazyMemberInfo(lazyMember.MemberType, () => GetAccessors(lazyMember));
379
private List<ExportDefinition> PopulateExports(List<
LazyMemberInfo
> members)
398
public ExportDefinition TranslateExpot(ReflectionMemberExportDefinition reflectionExport, List<
LazyMemberInfo
> members)
401
LazyMemberInfo
lazyMember = reflectionExport.ExportingLazyMember;
402
var
capturedLazyMember = lazyMember;
407
LazyMemberInfo
exportingMember = new LazyMemberInfo(capturedLazyMember.MemberType, () => GetAccessors(capturedLazyMember));
476
List<
LazyMemberInfo
> members = new List<
LazyMemberInfo
>();
System\ComponentModel\Composition\ReflectionModel\LazyMemberInfo.cs (9)
11
public struct LazyMemberInfo : IEquatable<
LazyMemberInfo
>
51
if (!
LazyMemberInfo
.AreAccessorsValid(memberType, accessors, out errorMessage))
83
if (!
LazyMemberInfo
.AreAccessorsValid(MemberType, accessors, out errorMessage))
110
obj is
LazyMemberInfo
other && Equals(other);
115
public bool Equals(
LazyMemberInfo
other)
137
public static bool operator ==(
LazyMemberInfo
left,
LazyMemberInfo
right)
142
public static bool operator !=(
LazyMemberInfo
left,
LazyMemberInfo
right)
System\ComponentModel\Composition\ReflectionModel\PartCreatorMemberImportDefinition.cs (1)
16
LazyMemberInfo
importingLazyMember,
System\ComponentModel\Composition\ReflectionModel\ReflectionExtensions.cs (3)
10
public static ReflectionMember ToReflectionMember(this
LazyMemberInfo
lazyMember)
44
public static
LazyMemberInfo
ToLazyMember(this MemberInfo member)
65
public static ReflectionWritableMember ToReflectionWriteableMember(this
LazyMemberInfo
lazyMember)
System\ComponentModel\Composition\ReflectionModel\ReflectionMemberExportDefinition.cs (3)
12
private readonly
LazyMemberInfo
_member;
17
public ReflectionMemberExportDefinition(
LazyMemberInfo
member, ExportDefinition exportDefinition, ICompositionElement? origin)
31
public
LazyMemberInfo
ExportingLazyMember
System\ComponentModel\Composition\ReflectionModel\ReflectionMemberImportDefinition.cs (3)
12
private
LazyMemberInfo
_importingLazyMember;
15
LazyMemberInfo
importingLazyMember,
38
public
LazyMemberInfo
ImportingLazyMember
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (6)
43
public static
LazyMemberInfo
GetExportingMember(ExportDefinition exportDefinition)
58
public static
LazyMemberInfo
GetImportingMember(ImportDefinition importDefinition)
147
LazyMemberInfo
exportingMember,
162
LazyMemberInfo
importingMember,
175
LazyMemberInfo
importingMember,
201
LazyMemberInfo
importingMember,