C# Класс Eddi.EDDIConfiguration

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

Private Properties

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

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

Метод Описание
EDDIConfiguration ( ) : Newtonsoft.Json
FromFile ( string filename = null ) : EDDIConfiguration

Obtain configuration from a file. If the file name is not supplied the the default path of Constants.Data_DIR\eddi.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\eddi.json will be used

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

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

public EDDIConfiguration ( ) : Newtonsoft.Json
Результат Newtonsoft.Json

FromFile() публичный статический Метод

Obtain configuration from a file. If the file name is not supplied the the default path of Constants.Data_DIR\eddi.json is used
public static FromFile ( string filename = null ) : EDDIConfiguration
filename string
Результат EDDIConfiguration

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

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\eddi.json will be used
public ToFile ( string filename = null ) : void
filename string
Результат void