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