C# Class EddiNetLogMonitor.NetLogConfiguration

Configuration for the NetLog service
Afficher le fichier Open project: cmdrmcdonald/EliteDangerousDataProvider Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Clear ( ) : void

Clear the information held by configuration

FromFile ( string filename = null ) : NetLogConfiguration

Obtain configuration from a file. If the file name is not supplied the the default path of Constants.Data_DIR\netlog.json is used

ToFile ( string filename = null ) : void

Write configuration to a file. If the filename is not supplied then the path used when reading in the configuration will be used, or the default path of Constants.Data_DIR\netlog.json will be used

Method Details

Clear() public méthode

Clear the information held by configuration
public Clear ( ) : void
Résultat void

FromFile() public static méthode

Obtain configuration from a file. If the file name is not supplied the the default path of Constants.Data_DIR\netlog.json is used
public static FromFile ( string filename = null ) : NetLogConfiguration
filename string
Résultat NetLogConfiguration

ToFile() public méthode

Write configuration to a file. If the filename is not supplied then the path used when reading in the configuration will be used, or the default path of Constants.Data_DIR\netlog.json will be used
public ToFile ( string filename = null ) : void
filename string
Résultat void