public ValidateXMLSchemaService(
     IValidationErrorHandler validationErrorHandler,
     ISchemaStringProviderService schemaFileContentStringProviderService,
     ICache <string> fileContentCache)
     : base(validationErrorHandler, RuleNameConstants.Schema)
 {
     _schemaFileContentStringProviderService = schemaFileContentStringProviderService;
     _fileContentCache = fileContentCache;
 }
Example #2
0
 public ValidateXMLSchemaService NewService(
     IValidationErrorHandler validationErrorHandler = null,
     ICache <string> fileCache = null,
     ISchemaStringProviderService schemaStringProviderService = null)
 {
     return(new ValidateXMLSchemaService(
                validationErrorHandler: validationErrorHandler,
                fileContentCache: fileCache,
                schemaFileContentStringProviderService: schemaStringProviderService));
 }