object IObjectProperties.this[string propertyName]
 {
     get
     {
         var            methodName = string.Format("get_{0}", propertyName);
         IObjectMethods methods    = this;
         return(methods[methodName](new object[0]));
     }
     set
     {
         var            methodName = string.Format("set_{0}", propertyName);
         IObjectMethods methods    = this;
         methods[methodName](new[] { value });
     }
 }
Exemple #2
0
 static ObjectExtensions()
 {
     _objMethods = new ObjectMethods();
 }