메소드 | 설명 | |
---|---|---|
CanReadFrom ( |
||
CanWriteInto ( |
Checks if property can be written into. If the property is read only or it is ignored then we cannot write into it.
|
|
GetFormatProvider ( |
Gtes the format provider for the property. If property contains SettingPropertyAttribute then it's SettingPropertyAttribute.CultureName is used. Otherwise CultureInfo.InvariantCulture is returned.
|
|
GetPropertyValue ( object instance, |
Gets the value of the property.
|
|
GetSettingName ( |
Gets the name of the setting for the property. If property contains SettingPropertyAttribute then it is used. Otherwise property's name is returned.
|
|
IsConnectionString ( |
Checks if the property is actually defined as connection string.
|
public static CanReadFrom ( |
||
propertyInfo | ||
리턴 | bool |
public static CanWriteInto ( |
||
propertyInfo | /// The property info. /// | |
리턴 | bool |
public static GetFormatProvider ( |
||
propertyInfo | /// The property info. /// | |
리턴 | IFormatProvider |
public static GetPropertyValue ( object instance, |
||
instance | object | Object from which the property is returned. |
propertyInfo | The property. | |
formatProvider | IFormatProvider | Format provider. |
리턴 | string |
public static GetSettingName ( |
||
propertyInfo | /// The property info. /// | |
리턴 | string |
public static IsConnectionString ( |
||
propertyInfo | The property info. | |
리턴 | bool |