Exemplo n.º 1
0
        protected PropertySetter(MethodInfo method, string name, ReactPropBaseAttribute attribute)
        {
            Method       = method;
            Name         = name;
            PropertyType = GetPropertyType(method);

            _propertyType = attribute.CustomType == ReactPropBaseAttribute.UseDefaultType
                ? GetPropertyType(PropertyType)
                : attribute.CustomType;

            _attribute = attribute;
        }
Exemplo n.º 2
0
 public ShadowNodeGroupPropSetter(MethodInfo method, int index, string name, ReactPropBaseAttribute attribute)
     : base(method, name, attribute)
 {
     _index = index;
 }
Exemplo n.º 3
0
 public ShadowNodePropSetter(MethodInfo method, string name, ReactPropBaseAttribute attribute)
     : base(method, name, attribute)
 {
 }
Exemplo n.º 4
0
 public ViewManagerGroupPropSetter(MethodInfo method, int index, string name, ReactPropBaseAttribute attribute)
     : base(method, name, attribute)
 {
     _index = index;
 }
Exemplo n.º 5
0
 public ViewManagerPropSetter(MethodInfo method, string name, ReactPropBaseAttribute attribute)
     : base(method, name, attribute)
 {
 }