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