C# Class Treasury.Config

Afficher le fichier Open project: NyxStudios/Treasury

Méthodes publiques

Méthode Description
Read ( Stream stream ) : ConfigFile

Reads the configuration file from a stream

Read ( string path ) : ConfigFile

Reads a configuration file from a given path

Write ( Stream stream ) : void

Writes the configuration to a stream

Write ( string path ) : void

Writes the configuration to a given path

Method Details

Read() public static méthode

Reads the configuration file from a stream
public static Read ( Stream stream ) : ConfigFile
stream Stream stream
Résultat TShockAPI.ConfigFile

Read() public static méthode

Reads a configuration file from a given path
public static Read ( string path ) : ConfigFile
path string string path
Résultat TShockAPI.ConfigFile

Write() public méthode

Writes the configuration to a stream
public Write ( Stream stream ) : void
stream Stream stream
Résultat void

Write() public méthode

Writes the configuration to a given path
public Write ( string path ) : void
path string string path - Location to put the config file
Résultat void