C# Class Brunet.Applications.ConfigurationValidator

Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_failed bool
_message string

Méthodes publiques

Méthode Description
Validate ( string config_path, string xsd_path ) : bool

Read xml file and check validity using given xsd file. brunet and ipop configuration file input type is file name, and dhcp configuration file content is passed as a string.

Méthodes protégées

Méthode Description
ValidEventHandler ( object sender, ValidationEventArgs args ) : void

Method Details

ValidEventHandler() protected méthode

protected ValidEventHandler ( object sender, ValidationEventArgs args ) : void
sender object
args System.Xml.Schema.ValidationEventArgs
Résultat void

Validate() public méthode

Read xml file and check validity using given xsd file. brunet and ipop configuration file input type is file name, and dhcp configuration file content is passed as a string.
public Validate ( string config_path, string xsd_path ) : bool
config_path string
xsd_path string
Résultat bool

Property Details

_failed protected_oe property

protected bool _failed
Résultat bool

_message protected_oe property

protected string _message
Résultat string