@@ -122,23 +122,6 @@ public Task SendCoreAsync(string method, object?[] args, CancellationToken cance
122122 }
123123}
124124
125- internal sealed class SingleClientProxy < THub > : IClientProxy where THub : Hub
126- {
127- private readonly string _connectionId ;
128- private readonly HubLifetimeManager < THub > _lifetimeManager ;
129-
130- public SingleClientProxy ( HubLifetimeManager < THub > lifetimeManager , string connectionId )
131- {
132- _lifetimeManager = lifetimeManager ;
133- _connectionId = connectionId ;
134- }
135-
136- public Task SendCoreAsync ( string method , object ? [ ] args , CancellationToken cancellationToken = default )
137- {
138- return _lifetimeManager . SendConnectionAsync ( _connectionId , method , args , cancellationToken ) ;
139- }
140- }
141-
142125internal sealed class MultipleClientProxy < THub > : IClientProxy where THub : Hub
143126{
144127 private readonly HubLifetimeManager < THub > _lifetimeManager ;
@@ -156,12 +139,12 @@ public Task SendCoreAsync(string method, object?[] args, CancellationToken cance
156139 }
157140}
158141
159- internal sealed class SingleClientProxyWithInvoke < THub > : ISingleClientProxy where THub : Hub
142+ internal sealed class SingleClientProxy < THub > : ISingleClientProxy where THub : Hub
160143{
161144 private readonly string _connectionId ;
162145 private readonly HubLifetimeManager < THub > _lifetimeManager ;
163146
164- public SingleClientProxyWithInvoke ( HubLifetimeManager < THub > lifetimeManager , string connectionId )
147+ public SingleClientProxy ( HubLifetimeManager < THub > lifetimeManager , string connectionId )
165148 {
166149 _lifetimeManager = lifetimeManager ;
167150 _connectionId = connectionId ;
0 commit comments