C# 클래스 MvcInstaller.RulesValidationFactory

The RulesValidationFactory class is used in the InstallWizard inside the CreateMembership method. It validates rules based on the web.config/membership section and returns the errors to the browser.
상속: IRulesValidationFactory
파일 보기 프로젝트 열기: kahanu/MvcInstaller 1 사용 예제들

공개 메소드들

메소드 설명
RulesValidationFactory ( InstallerConfig config, Configuration configSection ) : System
Validate ( ) : bool

비공개 메소드들

메소드 설명
AddRule ( PropertyRule rule ) : void

Add a rule to the list of rules to validate.

InitRules ( ) : void

Setup the rules to validate on the Membership section attributes.

메소드 상세

RulesValidationFactory() 공개 메소드

public RulesValidationFactory ( InstallerConfig config, Configuration configSection ) : System
config MvcInstaller.Settings.InstallerConfig
configSection System.Configuration.Configuration
리턴 System

Validate() 공개 메소드

public Validate ( ) : bool
리턴 bool