Пример #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()
                );
        }
Пример #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()));
        }
Пример #3
0
 static public PropertyInfoEX GetPropertyInfoEX(this PropertyInfo item)
 {
     return(PropertyInfoEX.GetPropertyInfoEX(item));
 }