Example #1
0
 public object this[string PropertyName]
 {
     get
     {
         return(Cache.GetProperty(_type, _instance, _type.GetProperty(PropertyName)));
     }
     set
     {
         Cache.SetProperty(_type, _instance, _type.GetProperty(PropertyName), value);
     }
 }
Example #2
0
 public static void Set(Type t, string PropertyName, object Value)
 {
     Cache.SetProperty(t, null, t.GetProperty(PropertyName), Value);
 }