C# Class DDay.iCal.Validator.Validation

Inheritance: IValidator
显示文件 Open project: ddaysoftware/icalvalid

Public Methods

Method Description
Validate ( ) : IValidationResultCollection
Validation ( IResourceManager mgr ) : System
Validation ( IResourceManager mgr, ILogger logger ) : System

Protected Methods

Method Description
Error ( ValidationResultCollection results, string errorName ) : void
Error ( ValidationResultCollection results, string errorName, int line, int col ) : void
Fatal ( ValidationResultCollection results, string errorName ) : void
Fatal ( ValidationResultCollection results, string errorName, int line, int col ) : void
Warning ( ValidationResultCollection results, string errorName ) : void
Warning ( ValidationResultCollection results, string errorName, int line, int col ) : void

Private Methods

Method Description
ErrorInternal ( ValidationResultCollection results, string errorName, ValidationResultInfoType type, int line, int col ) : void

Method Details

Error() protected method

protected Error ( ValidationResultCollection results, string errorName ) : void
results ValidationResultCollection
errorName string
return void

Error() protected method

protected Error ( ValidationResultCollection results, string errorName, int line, int col ) : void
results ValidationResultCollection
errorName string
line int
col int
return void

Fatal() protected method

protected Fatal ( ValidationResultCollection results, string errorName ) : void
results ValidationResultCollection
errorName string
return void

Fatal() protected method

protected Fatal ( ValidationResultCollection results, string errorName, int line, int col ) : void
results ValidationResultCollection
errorName string
line int
col int
return void

Validate() public abstract method

public abstract Validate ( ) : IValidationResultCollection
return IValidationResultCollection

Validation() public method

public Validation ( IResourceManager mgr ) : System
mgr IResourceManager
return System

Validation() public method

public Validation ( IResourceManager mgr, ILogger logger ) : System
mgr IResourceManager
logger ILogger
return System

Warning() protected method

protected Warning ( ValidationResultCollection results, string errorName ) : void
results ValidationResultCollection
errorName string
return void

Warning() protected method

protected Warning ( ValidationResultCollection results, string errorName, int line, int col ) : void
results ValidationResultCollection
errorName string
line int
col int
return void