C# Class xmlGenerator.ConfGenerator

Afficher le fichier Open project: kyungyonglee/brunet-ipop_makeconffile Class Usage Examples

Méthodes publiques

Méthode Description
ConfGenerator ( ) : System
ReadXMLFile ( ) : bool
WriteElementValue ( string element, string value, string defaultString, XmlTextWriter TargetXML, ValidCheck type ) : void
confFileValidCheck ( ConfFileValidChk target ) : bool
genBrunetConf ( ) : bool
genDHCPConf ( ) : bool
genIPOPConf ( ) : bool

Private Methods

Méthode Description
ValidCheckEventHandler ( object sender, ValidationEventArgs args ) : void
isValidIP ( string ipAddr ) : bool
isValidPort ( string portNumber ) : bool
isValidRemoteTA ( string address ) : bool

Method Details

ConfGenerator() public méthode

public ConfGenerator ( ) : System
Résultat System

ReadXMLFile() public méthode

public ReadXMLFile ( ) : bool
Résultat bool

WriteElementValue() public méthode

public WriteElementValue ( string element, string value, string defaultString, XmlTextWriter TargetXML, ValidCheck type ) : void
element string
value string
defaultString string
TargetXML System.Xml.XmlTextWriter
type ValidCheck
Résultat void

confFileValidCheck() public méthode

public confFileValidCheck ( ConfFileValidChk target ) : bool
target ConfFileValidChk
Résultat bool

genBrunetConf() public méthode

public genBrunetConf ( ) : bool
Résultat bool

genDHCPConf() public méthode

public genDHCPConf ( ) : bool
Résultat bool

genIPOPConf() public méthode

public genIPOPConf ( ) : bool
Résultat bool