C# Class SchoStack.Web.Conventions.FluentValidationHtmlConventions

Inheritance: SchoStack.Web.Conventions.Core.HtmlConvention
Datei anzeigen Open project: schotime/SchoStack

Public Properties

Property Type Description
RuleProviders List,HtmlTag,RequestData>>

Public Methods

Method Description
AddCreditCardClass ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
AddEmailData ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
AddEqualToDataAttr ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData request ) : void
AddLengthClasses ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
AddRegexData ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
AddRequiredClass ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
FluentValidationHtmlConventions ( ) : System
FluentValidationHtmlConventions ( IValidatorFinder validatorFinder ) : System
FluentValidationHtmlConventions ( IValidatorFinder validatorFinder, bool msUnobtrusive ) : System
GetMessage ( RequestData requestData, SchoStack.Web.FluentValidation.PropertyValidatorResult propertyValidator ) : string

Method Details

AddCreditCardClass() public method

public AddCreditCardClass ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
propertyValidators IEnumerable
htmlTag HtmlTags.HtmlTag
requestData RequestData
return void

AddEmailData() public method

public AddEmailData ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
propertyValidators IEnumerable
htmlTag HtmlTags.HtmlTag
requestData RequestData
return void

AddEqualToDataAttr() public method

public AddEqualToDataAttr ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData request ) : void
propertyValidators IEnumerable
htmlTag HtmlTags.HtmlTag
request RequestData
return void

AddLengthClasses() public method

public AddLengthClasses ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
propertyValidators IEnumerable
htmlTag HtmlTags.HtmlTag
requestData RequestData
return void

AddRegexData() public method

public AddRegexData ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
propertyValidators IEnumerable
htmlTag HtmlTags.HtmlTag
requestData RequestData
return void

AddRequiredClass() public method

public AddRequiredClass ( IEnumerable propertyValidators, HtmlTags.HtmlTag htmlTag, RequestData requestData ) : void
propertyValidators IEnumerable
htmlTag HtmlTags.HtmlTag
requestData RequestData
return void

FluentValidationHtmlConventions() public method

public FluentValidationHtmlConventions ( ) : System
return System

FluentValidationHtmlConventions() public method

public FluentValidationHtmlConventions ( IValidatorFinder validatorFinder ) : System
validatorFinder IValidatorFinder
return System

FluentValidationHtmlConventions() public method

public FluentValidationHtmlConventions ( IValidatorFinder validatorFinder, bool msUnobtrusive ) : System
validatorFinder IValidatorFinder
msUnobtrusive bool
return System

GetMessage() public static method

public static GetMessage ( RequestData requestData, SchoStack.Web.FluentValidation.PropertyValidatorResult propertyValidator ) : string
requestData RequestData
propertyValidator SchoStack.Web.FluentValidation.PropertyValidatorResult
return string

Property Details

RuleProviders public_oe property

public List,HtmlTag,RequestData>> RuleProviders
return List,HtmlTag,RequestData>>