Fix names and grammar
This commit is contained in:
parent
e312d64194
commit
cec47f05e2
|
|
@ -45,9 +45,9 @@ namespace Microsoft.AspNetCore.Components.Server.Circuits
|
||||||
/// Invoked when a new circuit was established.
|
/// Invoked when a new circuit was established.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="circuit">The <see cref="Circuit"/>.</param>
|
/// <param name="circuit">The <see cref="Circuit"/>.</param>
|
||||||
/// <param name="cts">The <see cref="CancellationToken"/>.</param>
|
/// <param name="cancellationToken">The <see cref="CancellationToken"/>.</param>
|
||||||
/// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns>
|
/// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns>
|
||||||
public virtual Task OnCircuitOpenedAsync(Circuit circuit, CancellationToken cts) => Task.CompletedTask;
|
public virtual Task OnCircuitOpenedAsync(Circuit circuit, CancellationToken cancellationToken) => Task.CompletedTask;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Invoked when a connection to the client was established.
|
/// Invoked when a connection to the client was established.
|
||||||
|
|
@ -57,25 +57,25 @@ namespace Microsoft.AspNetCore.Components.Server.Circuits
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="circuit">The <see cref="Circuit"/>.</param>
|
/// <param name="circuit">The <see cref="Circuit"/>.</param>
|
||||||
/// <param name="cts">The <see cref="CancellationToken"/>.</param>
|
/// <param name="cancellationToken">The <see cref="CancellationToken"/>.</param>
|
||||||
/// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns>
|
/// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns>
|
||||||
public virtual Task OnConnectionUpAsync(Circuit circuit, CancellationToken cts) => Task.CompletedTask;
|
public virtual Task OnConnectionUpAsync(Circuit circuit, CancellationToken cancellationToken) => Task.CompletedTask;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Invoked a connection to the client using was dropped.
|
/// Invoked when a connection to the client was dropped.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="circuit">The <see cref="Circuit"/>.</param>
|
/// <param name="circuit">The <see cref="Circuit"/>.</param>
|
||||||
/// <param name="cts">The <see cref="CancellationToken"/>.</param>
|
/// <param name="cancellationToken">The <see cref="CancellationToken"/>.</param>
|
||||||
/// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns>
|
/// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns>
|
||||||
public virtual Task OnConnectionDownAsync(Circuit circuit, CancellationToken cts) => Task.CompletedTask;
|
public virtual Task OnConnectionDownAsync(Circuit circuit, CancellationToken cancellationToken) => Task.CompletedTask;
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Invoked when a new circuit is being discarded.
|
/// Invoked when a new circuit is being discarded.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="circuit">The <see cref="Circuit"/>.</param>
|
/// <param name="circuit">The <see cref="Circuit"/>.</param>
|
||||||
/// <param name="cts">The <see cref="CancellationToken"/>.</param>
|
/// <param name="cancellationToken">The <see cref="CancellationToken"/>.</param>
|
||||||
/// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns>
|
/// <returns><see cref="Task"/> that represents the asynchronous execution operation.</returns>
|
||||||
public virtual Task OnCircuitClosedAsync(Circuit circuit, CancellationToken cts) => Task.CompletedTask;
|
public virtual Task OnCircuitClosedAsync(Circuit circuit, CancellationToken cancellationToken) => Task.CompletedTask;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue