AppStartSettings
StockSharp.Configuration
Configuração inicial da aplicação.
Implementa: IPersistable
Propriedades
Language
public string Language { get; set; }
value = appStartSettings.Language
appStartSettings.Language = value
Língua selecionada para aplicação.
Online
public bool Online { get; set; }
value = appStartSettings.Online
appStartSettings.Online = value
Modo online.
TimeZone
public TimeZoneInfo TimeZone { get; set; }
value = appStartSettings.TimeZone
appStartSettings.TimeZone = value
Fuso horário de aplicação preferido.
Métodos
TryLoad
public static AppStartSettings TryLoad(IFileSystem fileSystem)
result = AppStartSettings.TryLoad(fileSystem)
Tente as configurações de carga, se o arquivo de configuração existir.
TrySave
public void TrySave(IFileSystem fileSystem)
appStartSettings.TrySave(fileSystem)
Salve as configurações em PlatformConfigurationFile se estiver definido.