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