Ejemplo n.º 1
0
 public object this[MemberInfo key] {
     get {
         return(ReflectionTool.GetMemberValue(key, target));
     }
     set {
         ReflectionTool.SetMemberValue(key, target, value);
     }
 }
Ejemplo n.º 2
0
 public object this[KeyValuePair <MemberInfo, object> key] {
     get {
         return(ReflectionTool.GetMemberValue(key.Key, target));
     }
     set {
         ReflectionTool.SetMemberValue(key.Key, target, value);
     }
 }