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 }); } }
static ObjectExtensions() { _objMethods = new ObjectMethods(); }