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;
 }
Example #2
0
 public FieldHandler(FieldInfo field)
 {
     mGetValue = ReflectionHandlerFactory.FieldGetHandler(field);
     mSetValue = ReflectionHandlerFactory.FieldSetHandler(field);
     Field     = field;
 }
Example #3
0
 public InstanceHandler(Type type)
 {
     mInstance = ReflectionHandlerFactory.InstanceHandler(type);
 }
Example #4
0
 public MethodHandler(MethodInfo method)
 {
     mExecute = ReflectionHandlerFactory.MethodHandler(method);
     mInfo    = method;
 }