AppStartSettings

StockSharp.Configuration

Konfiguration des Anwendungsstarts.

Implementiert: IPersistable

Eigenschaften

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

Ausgewählte Anwendungssprache.

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

Online-Modus.

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

Bevorzugte Anwendungszeitzone.

Methoden

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

Versuchen Sie die Ladeeinstellungen, wenn die Konfigurationsdatei vorhanden ist.

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

Speichern Sie Einstellungen in PlatformConfigurationFile, wenn es definiert ist.