C# Class SenseNet.ContentRepository.Storage.XmlValidator

显示文件 Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
LoadFromManifestResource ( Assembly resourceOwner, string manifestResourceName ) : XmlValidator
LoadSchema ( Stream stream ) : void
LoadSchema ( string schemaXml ) : void
Validate ( IXPathNavigable xml ) : bool
Validate ( string xml ) : bool
XmlValidator ( ) : System

Private Methods

Method Description
ClearErrors ( ) : void
ValidationCallback ( object sender, ValidationEventArgs e ) : void

Method Details

LoadFromManifestResource() public static method

public static LoadFromManifestResource ( Assembly resourceOwner, string manifestResourceName ) : XmlValidator
resourceOwner System.Reflection.Assembly
manifestResourceName string
return XmlValidator

LoadSchema() public method

public LoadSchema ( Stream stream ) : void
stream Stream
return void

LoadSchema() public method

public LoadSchema ( string schemaXml ) : void
schemaXml string
return void

Validate() public method

public Validate ( IXPathNavigable xml ) : bool
xml IXPathNavigable
return bool

Validate() public method

public Validate ( string xml ) : bool
xml string
return bool

XmlValidator() public method

public XmlValidator ( ) : System
return System