Table of Contents

Interface IDesktopPopupService

Namespace
StockSharp.Alerts
Assembly
StockSharp.Alerts.Interfaces.dll

Desktop popup notification service.

public interface IDesktopPopupService : ILogSource, IDisposable
Inherited Members
Extension Methods

Methods

NotifyAsync(DateTimeOffset, string, string, string, CancellationToken)

Show desktop popup.

ValueTask<bool> NotifyAsync(DateTimeOffset time, string caption, string message, string iconKey, CancellationToken cancellationToken)

Parameters

time DateTimeOffset

Time.

caption string

Signal header.

message string

Alert text.

iconKey string

Icon to show with notification.

cancellationToken CancellationToken

CancellationToken.

Returns

ValueTask<bool>

ValueTaskTask result is true if user has clicked the notification.