C# Класс Brunet.Applications.ConfigurationValidator

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_failed bool
_message string

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
ValidEventHandler ( object sender, ValidationEventArgs args ) : void

Описание методов

ValidEventHandler() защищенный Метод

protected ValidEventHandler ( object sender, ValidationEventArgs args ) : void
sender object
args System.Xml.Schema.ValidationEventArgs
Результат void

Validate() публичный Метод

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
Результат bool

Описание свойств

_failed защищенное свойство

protected bool _failed
Результат bool

_message защищенное свойство

protected string _message
Результат string