using Microsoft.AspNetCore.SignalR.Client; using RemoteExec.Shared; namespace RemoteExec.Client; /// /// Provides data for the event. /// public class ServerMetricsUpdatedEventArgs(HubConnection connection, ServerMetrics metrics) : EventArgs { /// /// Gets the hub connection associated with the metrics update. /// public HubConnection Connection { get; } = connection; /// /// Gets the updated server metrics. /// public ServerMetrics Metrics { get; } = metrics; }