Ver Fonte

Fixed parameter name casing (#12681)

David Fowler há 6 anos atrás
pai
commit
ad94d41a7f

+ 1 - 1
src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.netstandard2.0.cs

@@ -111,7 +111,7 @@ namespace Microsoft.AspNetCore.Connections
     }
     public partial interface IConnectionFactory
     {
-        System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Connections.ConnectionContext> ConnectAsync(System.Net.EndPoint endPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+        System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Connections.ConnectionContext> ConnectAsync(System.Net.EndPoint endpoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
     }
     public partial interface IConnectionListener : System.IAsyncDisposable
     {

+ 1 - 1
src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.netstandard2.1.cs

@@ -111,7 +111,7 @@ namespace Microsoft.AspNetCore.Connections
     }
     public partial interface IConnectionFactory
     {
-        System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Connections.ConnectionContext> ConnectAsync(System.Net.EndPoint endPoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+        System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.Connections.ConnectionContext> ConnectAsync(System.Net.EndPoint endpoint, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
     }
     public partial interface IConnectionListener : System.IAsyncDisposable
     {

+ 2 - 2
src/Servers/Connections.Abstractions/src/IConnectionFactory.cs

@@ -15,11 +15,11 @@ namespace Microsoft.AspNetCore.Connections
         /// <summary>
         /// Creates a new connection to an endpoint.
         /// </summary>
-        /// <param name="endPoint">The <see cref="EndPoint"/> to connect to.</param>
+        /// <param name="endpoint">The <see cref="EndPoint"/> to connect to.</param>
         /// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="CancellationToken.None" />.</param>
         /// <returns>
         /// A <see cref="ValueTask{TResult}" /> that represents the asynchronous connect, yielding the <see cref="ConnectionContext" /> for the new connection when completed.
         /// </returns>
-        ValueTask<ConnectionContext> ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken = default);
+        ValueTask<ConnectionContext> ConnectAsync(EndPoint endpoint, CancellationToken cancellationToken = default);
     }
 }