 | StatusPropertyAttribute Constructor (Type, String) |
Initializes a new instance of the
StatusPropertyAttribute class that specifies a static method
to get the status of the decorated field.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic StatusPropertyAttribute(
Type providerType,
string methodName
)
Parameters
- providerType
- Type: SystemType
The provider type of the validation method. - methodName
- Type: SystemString
Name of a static validation method with the signature:
ValidationStatus (Object provider, Object testValue, out String message).
See Also