Skip to content

Add xml comments to HubInvocationContext #11683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 28, 2019
Merged

Add xml comments to HubInvocationContext #11683

merged 3 commits into from
Jun 28, 2019

Conversation

BrennanConroy
Copy link
Member

Let the word-smithing begin!

@BrennanConroy BrennanConroy added the area-signalr Includes: SignalR clients and servers label Jun 28, 2019
@BrennanConroy BrennanConroy added this to the 3.0.0-preview7 milestone Jun 28, 2019
Copy link
Contributor

@analogrelay analogrelay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SMITHED!

Co-Authored-By: Andrew Stanton-Nurse <[email protected]>
/// <summary>
/// Instantiates a new instance of the <see cref="HubInvocationContext"/> class.
/// </summary>
/// <param name="context">Context for the active hub connection and caller.</param>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:Should this be "hub connection" or HubConnection?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it should be HubConnection as that is the client side type, on the server it's a "connection to a hub" i.e. "hub connection". But I could be convinced either way

public HubInvocationContext(HubCallerContext context, string hubMethodName, object[] hubMethodArguments)
{
HubMethodName = hubMethodName;
HubMethodArguments = hubMethodArguments;
Context = context;
}

/// <summary>
/// Gets the context for the active hub connection and caller.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question here

@BrennanConroy BrennanConroy merged commit 7820137 into master Jun 28, 2019
@ghost ghost deleted the brecon/xml branch June 28, 2019 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-signalr Includes: SignalR clients and servers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants