mirror of
https://github.com/Stone-Red-Code/RemoteExec.git
synced 2026-09-04 09:06:20 +02:00
Add XML docs
This commit is contained in:
@@ -4,8 +4,18 @@ using RemoteExec.Shared;
|
||||
|
||||
namespace RemoteExec.Client;
|
||||
|
||||
/// <summary>
|
||||
/// Provides data for the <see cref="RemoteExecutor.MetricsUpdated"/> event.
|
||||
/// </summary>
|
||||
public class ServerMetricsUpdatedEventArgs(HubConnection connection, ServerMetrics metrics) : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the hub connection associated with the metrics update.
|
||||
/// </summary>
|
||||
public HubConnection Connection { get; } = connection;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the updated server metrics.
|
||||
/// </summary>
|
||||
public ServerMetrics Metrics { get; } = metrics;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user