Design Pattern Framework 3.5
ValidateCompare Constructor (propertyName, otherPropertyName, errorMessage, operator, dataType)
Patterns-In-Action! Application ► BusinessObjects.BusinessRules ► ValidateCompare ► ValidateCompare(String, String, String, ValidationOperator, ValidationDataType)
Initializes a new instance of the ValidateCompare class
Declaration Syntax
C# | Visual Basic |
public ValidateCompare( string propertyName, string otherPropertyName, string errorMessage, ValidationOperator operator, ValidationDataType dataType )
Public Sub New ( _ propertyName As String, _ otherPropertyName As String, _ errorMessage As String, _ operator As ValidationOperator, _ dataType As ValidationDataType _ )
Parameters
- propertyName (String)
- otherPropertyName (String)
- errorMessage (String)
- operator (ValidationOperator)
- dataType (ValidationDataType)