diff --git a/src/SignalR/server/Core/src/HubInvocationContext.cs b/src/SignalR/server/Core/src/HubInvocationContext.cs
index 9cda75da11a5..a62706d6a8d6 100644
--- a/src/SignalR/server/Core/src/HubInvocationContext.cs
+++ b/src/SignalR/server/Core/src/HubInvocationContext.cs
@@ -2,11 +2,21 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
+using Microsoft.AspNetCore.Authorization;
namespace Microsoft.AspNetCore.SignalR
{
+ ///
+ /// Context for a Hub invocation.
+ ///
public class HubInvocationContext
{
+ ///
+ /// Instantiates a new instance of the class.
+ ///
+ /// Context for the active Hub connection and caller.
+ /// The name of the Hub method being invoked.
+ /// The arguments provided by the client.
public HubInvocationContext(HubCallerContext context, string hubMethodName, object[] hubMethodArguments)
{
HubMethodName = hubMethodName;
@@ -14,8 +24,19 @@ public HubInvocationContext(HubCallerContext context, string hubMethodName, obje
Context = context;
}
+ ///
+ /// Gets the context for the active Hub connection and caller.
+ ///
public HubCallerContext Context { get; }
+
+ ///
+ /// Gets the name of the Hub method being invoked.
+ ///
public string HubMethodName { get; }
+
+ ///
+ /// Gets the arguments provided by the client.
+ ///
public IReadOnlyList