Example #1
0
        public PropInfoEX_Property(PropertyInfoEX p)
        {
            property_info = p;

            method_pair = new PropInfoEX_MethodPair(
                property_info.GetSetMethod(true).GetMethodInfoEX(),
                property_info.GetGetMethod(true).GetMethodInfoEX()
                );
        }
Example #2
0
        public PropInfoEX_PermissiveProperty(PropertyInfoEX p)
        {
            property_info = p;

            method_pair = new PropInfoEX_MethodPair(
                property_info.GetSetMethod(true).GetMethodInfoEX(),
                property_info.GetGetMethod(true).GetMethodInfoEX()
                );

            backing_field = property_info.GetBackingField().IfNotNull(f => new PropInfoEX_Field(f.GetFieldInfoEX()));
        }
Example #3
0
 static public PropertyInfoEX GetPropertyInfoEX(this PropertyInfo item)
 {
     return(PropertyInfoEX.GetPropertyInfoEX(item));
 }