コード例 #1
0
 public IQualifiedMember GetElementMember()
 {
     return(_elementMember ??= EntryMember.IsEnumerable
         ? IsEntireDictionaryMatch
             ? EntryMember
             : EntryMember.GetElementMember()
         : EntryMember.GetInstanceElementMember());
 }
コード例 #2
0
 public Expression GetQualifiedAccess(Expression parentInstance)
 {
     return(IsEntireDictionaryMatch
         ? _wrappedSourceMember.GetQualifiedAccess(parentInstance)
         : EntryMember.GetQualifiedAccess(parentInstance));
 }
コード例 #3
0
 public IQualifiedMember WithType(Type runtimeType)
 => (runtimeType != _wrappedSourceMember.Type) ? EntryMember.WithType(runtimeType) : this;
コード例 #4
0
 public IQualifiedMember Append(Member childMember) => EntryMember.Append(childMember);
コード例 #5
0
 public IQualifiedMember GetElementMember()
 {
     return(EntryMember.IsEnumerable
         ? EntryMember.GetElementMember()
         : EntryMember.GetInstanceElementMember());
 }