C# Class EddiSpeechResponder.SpeechResponderConfiguration

Configuration for the speech responder
Exibir arquivo Open project: cmdrmcdonald/EliteDangerousDataProvider Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
FromFile ( string filename = null ) : SpeechResponderConfiguration

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

Method Details

FromFile() public static method

Obtain configuration from a file. If the file name is not supplied the the default path of Constants.Data_DIR\speechresponder.json is used
public static FromFile ( string filename = null ) : SpeechResponderConfiguration
filename string
return SpeechResponderConfiguration

ToFile() public method

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\speechresponder.json will be used
public ToFile ( string filename = null ) : void
filename string
return void