AlertSchemasPanel

StockSharp.Alerts

Painel para modificação de esquemas.

Herda de: UserControl

Implementa: IAsyncPersistable, IComponentConnector

Construtores

AlertSchemasPanel
public AlertSchemasPanel()
alertSchemasPanel = AlertSchemasPanel()

Inicializa uma nova instância do AlertSchemasPanel.

Propriedades

ProcessingService
public IAlertProcessingService ProcessingService { get; set; }
value = alertSchemasPanel.ProcessingService
alertSchemasPanel.ProcessingService = value

Serviço de processamento de alerta.

Métodos

InitializeComponent
public void InitializeComponent()
alertSchemasPanel.InitializeComponent()

InitializeComponent

LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = alertSchemasPanel.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Retorna: Task

SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = alertSchemasPanel.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Retorna: Task

Eventos

LayoutChanged
public event Action LayoutChanged
alertSchemasPanel.LayoutChanged += handler

O layout mudou o evento.

Campos

AddSchemaCommand
public static readonly RoutedCommand AddSchemaCommand
value = AlertSchemasPanel.AddSchemaCommand

O comando para adicionar novo esquema.

EditSchemaCommand
public static readonly RoutedCommand EditSchemaCommand
value = AlertSchemasPanel.EditSchemaCommand

O comando para editar o esquema seleccionado.

RemoveSchemasCommand
public static readonly RoutedCommand RemoveSchemasCommand
value = AlertSchemasPanel.RemoveSchemasCommand

O comando para remover esquemas seleccionados.