C# 클래스 SobekCM.Resource_Object.Utilities.XmlValidator

Class used to perform very basic validation against any XML file
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

공개 메소드들

메소드 설명
IsValid ( string XmlFile ) : bool

Validates whether XML is valid XML, without any checks against schemas

XmlValidator ( ) : System

Constructor for a new instance of the XmlValidator clss

비공개 메소드들

메소드 설명
MyValidationEventHandler ( object sender, ValidationEventArgs args ) : void

EventHandler is called when there is an error during validation

메소드 상세

IsValid() 공개 메소드

Validates whether XML is valid XML, without any checks against schemas
public IsValid ( string XmlFile ) : bool
XmlFile string Full pathname for the XML file to validate
리턴 bool

XmlValidator() 공개 메소드

Constructor for a new instance of the XmlValidator clss
public XmlValidator ( ) : System
리턴 System