Example #1
0
 public PropertyHandler(PropertyInfo property)
 {
     if (property.CanWrite)
     {
         mSetValue = ReflectionHandlerFactory.PropertySetHandler(property);
     }
     if (property.CanRead)
     {
         mGetValue = ReflectionHandlerFactory.PropertyGetHandler(property);
     }
     mProperty     = property;
     IndexProperty = mProperty.GetGetMethod().GetParameters().Length > 0;
 }