C# Class ClearCanvas.Desktop.Validation.ValidationMethodForAttribute

Inheritance: System.Attribute
Mostra file Open project: jasper-yeh/ClearCanvas

Public Methods

Method Description
ValidationMethodForAttribute ( string propertyName ) : System

Constructor.

Private Methods

Method Description
CheckMethodSignature ( MethodInfo method ) : void
CreateRule ( MethodInfo method ) : IValidationRule

Factory method that creates an IValidationRule for the property with the name PropertyName.

Method Details

ValidationMethodForAttribute() public method

Constructor.
public ValidationMethodForAttribute ( string propertyName ) : System
propertyName string The property the decorated method is intended to validate.
return System