Пример #1
0
        public static Report Validate(this SpecificationWorkspace specification, XPathNavigator root)
        {
            ResourceValidator validator = new ResourceValidator(specification);
            Report            report    = validator.Validate(root);

            return(report);
        }
Пример #2
0
        public Report Validate(IElementNavigator root)
        {
            SpecificationWorkspace spec      = getSpecification(root);
            ResourceValidator      validator = new ResourceValidator(spec);
            //  Report report = validator.Validate(root);
            Report report = null;

            return(report);
        }
Пример #3
0
 public static Report Validate(this SpecificationWorkspace specification, XPathNavigator root)
 {
     ResourceValidator validator = new ResourceValidator(specification);
     Report report = validator.Validate(root);
     return report; 
 }