示例#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()));
        }