C# Class SMAdminTools.Classes.IniFile

Afficher le fichier Open project: JuJuBoSc/SMAdminTools

Méthodes publiques

Méthode Description
Flush ( ) : void
GetValue ( string SectionName, string Key, bool DefaultValue ) : bool
GetValue ( string SectionName, string Key, byte DefaultValue ) : byte[]
GetValue ( string SectionName, string Key, double DefaultValue ) : double
GetValue ( string SectionName, string Key, int DefaultValue ) : int
GetValue ( string SectionName, string Key, string DefaultValue ) : string
IniFile ( string FileName ) : System
IniFile ( string FileName, bool Lazy ) : System
Refresh ( ) : void
SetValue ( string SectionName, string Key, bool Value ) : void
SetValue ( string SectionName, string Key, byte Value ) : void
SetValue ( string SectionName, string Key, double Value ) : void
SetValue ( string SectionName, string Key, int Value ) : void
SetValue ( string SectionName, string Key, string Value ) : void

Private Methods

Méthode Description
DecodeByteArray ( string Value ) : byte[]
EncodeByteArray ( byte Value ) : string
Initialize ( string FileName, bool Lazy ) : void

Method Details

Flush() public méthode

public Flush ( ) : void
Résultat void

GetValue() public méthode

public GetValue ( string SectionName, string Key, bool DefaultValue ) : bool
SectionName string
Key string
DefaultValue bool
Résultat bool

GetValue() public méthode

public GetValue ( string SectionName, string Key, byte DefaultValue ) : byte[]
SectionName string
Key string
DefaultValue byte
Résultat byte[]

GetValue() public méthode

public GetValue ( string SectionName, string Key, double DefaultValue ) : double
SectionName string
Key string
DefaultValue double
Résultat double

GetValue() public méthode

public GetValue ( string SectionName, string Key, int DefaultValue ) : int
SectionName string
Key string
DefaultValue int
Résultat int

GetValue() public méthode

public GetValue ( string SectionName, string Key, string DefaultValue ) : string
SectionName string
Key string
DefaultValue string
Résultat string

IniFile() public méthode

public IniFile ( string FileName ) : System
FileName string
Résultat System

IniFile() public méthode

public IniFile ( string FileName, bool Lazy ) : System
FileName string
Lazy bool
Résultat System

Refresh() public méthode

public Refresh ( ) : void
Résultat void

SetValue() public méthode

public SetValue ( string SectionName, string Key, bool Value ) : void
SectionName string
Key string
Value bool
Résultat void

SetValue() public méthode

public SetValue ( string SectionName, string Key, byte Value ) : void
SectionName string
Key string
Value byte
Résultat void

SetValue() public méthode

public SetValue ( string SectionName, string Key, double Value ) : void
SectionName string
Key string
Value double
Résultat void

SetValue() public méthode

public SetValue ( string SectionName, string Key, int Value ) : void
SectionName string
Key string
Value int
Résultat void

SetValue() public méthode

public SetValue ( string SectionName, string Key, string Value ) : void
SectionName string
Key string
Value string
Résultat void