fca978de07
Sweep of 203 source files resolving CommentChecker findings: add <summary>/<param>/<returns>/<inheritdoc> where missing, and remove resolved task/issue tracking markers (Tests-NNN, Worker-NNN, Server-NNN, Task N) from code comments. Comment/doc-only — no logic changes. Server+Tests build clean under TreatWarningsAsErrors.
21 lines
742 B
C#
21 lines
742 B
C#
namespace ZB.MOM.WW.MxGateway.Server.Dashboard;
|
|
|
|
/// <summary>
|
|
/// Provides snapshots of the dashboard state for UI updates.
|
|
/// </summary>
|
|
public interface IDashboardSnapshotService
|
|
{
|
|
/// <summary>
|
|
/// Gets the current dashboard snapshot.
|
|
/// </summary>
|
|
/// <returns>The current dashboard snapshot.</returns>
|
|
DashboardSnapshot GetSnapshot();
|
|
|
|
/// <summary>
|
|
/// Watches for changes to the dashboard state as an async enumerable.
|
|
/// </summary>
|
|
/// <param name="cancellationToken">Token to cancel the asynchronous operation.</param>
|
|
/// <returns>An asynchronous stream of dashboard snapshots.</returns>
|
|
IAsyncEnumerable<DashboardSnapshot> WatchSnapshotsAsync(CancellationToken cancellationToken);
|
|
}
|