AppStartSettings

StockSharp.Configuration

Application start configuration.

Implements: IPersistable

Properties

Language
public string Language { get; set; }
value = appStartSettings.Language
appStartSettings.Language = value

Selected application language.

Online
public bool Online { get; set; }
value = appStartSettings.Online
appStartSettings.Online = value

Online mode.

TimeZone
public TimeZoneInfo TimeZone { get; set; }
value = appStartSettings.TimeZone
appStartSettings.TimeZone = value

Preferred application time zone.

Methods

TryLoad
public static AppStartSettings TryLoad(IFileSystem fileSystem)
result = AppStartSettings.TryLoad(fileSystem)

Try load settings, if config file exists.

TrySave
public void TrySave(IFileSystem fileSystem)
appStartSettings.TrySave(fileSystem)

Save settings into PlatformConfigurationFile if it is defined.