C# Class Habanero.Smooth.AutoMapStringPatternMatchPropRuleAttribute

Marks a String Pattern Match property rule. PropRuleString
Inheritance: System.Attribute
Mostrar archivo Open project: Chillisoft/habanero.smooth

Public Methods

Method Description
AutoMapStringPatternMatchPropRuleAttribute ( string pattern ) : System

Construct the Attribute with a specific RegEx pattern

AutoMapStringPatternMatchPropRuleAttribute ( string pattern, string message ) : System

Construct the Attribute with a specific RegEx pattern and a Message

Method Details

AutoMapStringPatternMatchPropRuleAttribute() public method

Construct the Attribute with a specific RegEx pattern
public AutoMapStringPatternMatchPropRuleAttribute ( string pattern ) : System
pattern string
return System

AutoMapStringPatternMatchPropRuleAttribute() public method

Construct the Attribute with a specific RegEx pattern and a Message
public AutoMapStringPatternMatchPropRuleAttribute ( string pattern, string message ) : System
pattern string
message string
return System