C# Class PetShop.Business.Validation.ValidationRuleArgs

Object that provides additional information about an validation rule.
Show file Open project: netTiers/netTiers Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ToString ( ) : string

Return a string representation of the object.

ValidationRuleArgs ( string propertyName ) : System

Creates an instance of the object

ValidationRuleArgs ( string propertyName, string friendlyName ) : System

Creates an instance of the object

Method Details

ToString() public method

Return a string representation of the object.
public ToString ( ) : string
return string

ValidationRuleArgs() public method

Creates an instance of the object
public ValidationRuleArgs ( string propertyName ) : System
propertyName string The name of the property to be validated.
return System

ValidationRuleArgs() public method

Creates an instance of the object
public ValidationRuleArgs ( string propertyName, string friendlyName ) : System
propertyName string The name of the property to be validated.
friendlyName string Friendly name to use in the validation error text.
return System