Add XML documentation across gateway, worker, and .NET client
This commit is contained in:
@@ -7,6 +7,12 @@ namespace MxGateway.Worker.Sta;
|
||||
|
||||
public sealed class StaCommand
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="StaCommand"/> class.</summary>
|
||||
/// <param name="sessionId">Identifier of the session.</param>
|
||||
/// <param name="correlationId">Correlation identifier for the command.</param>
|
||||
/// <param name="command">The MXAccess command to execute.</param>
|
||||
/// <param name="enqueueTimestamp">Timestamp when the command was enqueued.</param>
|
||||
/// <param name="cancellationToken">Token to cancel the asynchronous operation.</param>
|
||||
public StaCommand(
|
||||
string sessionId,
|
||||
string correlationId,
|
||||
@@ -31,17 +37,24 @@ public sealed class StaCommand
|
||||
CancellationToken = cancellationToken;
|
||||
}
|
||||
|
||||
/// <summary>Gets the session ID for the STA command.</summary>
|
||||
public string SessionId { get; }
|
||||
|
||||
/// <summary>Gets the correlation ID for the STA command.</summary>
|
||||
public string CorrelationId { get; }
|
||||
|
||||
/// <summary>Gets the MXAccess command to execute.</summary>
|
||||
public MxCommand Command { get; }
|
||||
|
||||
/// <summary>Gets the timestamp when the command was enqueued.</summary>
|
||||
public Timestamp EnqueueTimestamp { get; }
|
||||
|
||||
/// <summary>Gets the token to cancel the asynchronous operation.</summary>
|
||||
public CancellationToken CancellationToken { get; }
|
||||
|
||||
/// <summary>Gets the kind of the MXAccess command.</summary>
|
||||
public MxCommandKind Kind => Command.Kind;
|
||||
|
||||
/// <summary>Gets the method name of the command.</summary>
|
||||
public string MethodName => Kind.ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user