C# Class Calyptus.Mvc.RegExpConstraintAttribute

Inheritance: System.Attribute, IBindingConstraint
ファイルを表示 Open project: sebmarkbage/calyptus.mvc

Public Methods

Method Description
Initialize ( ParameterInfo parameter ) : void
RegExpConstraintAttribute ( string pattern ) : System
RegExpConstraintAttribute ( string pattern, RegexOptions options ) : System
TryConstraint ( IHttpContext context, object value ) : bool

Method Details

Initialize() public method

public Initialize ( ParameterInfo parameter ) : void
parameter System.Reflection.ParameterInfo
return void

RegExpConstraintAttribute() public method

public RegExpConstraintAttribute ( string pattern ) : System
pattern string
return System

RegExpConstraintAttribute() public method

public RegExpConstraintAttribute ( string pattern, RegexOptions options ) : System
pattern string
options RegexOptions
return System

TryConstraint() public method

public TryConstraint ( IHttpContext context, object value ) : bool
context IHttpContext
value object
return bool