5 implementations of ISingleClientProxy
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitClientProxy.cs (1)
8internal sealed class CircuitClientProxy : ISingleClientProxy
Microsoft.AspNetCore.SignalR.Core (4)
Internal\HubCallerClients.cs (2)
99private sealed class NoInvokeSingleClientProxy : ISingleClientProxy 119private sealed class SingleClientProxy : ISingleClientProxy
Internal\NonInvokingSingleClientProxy.cs (1)
6internal sealed class NonInvokingSingleClientProxy : ISingleClientProxy
Internal\Proxies.cs (1)
148internal sealed class SingleClientProxy<THub> : ISingleClientProxy where THub : Hub
51 references to ISingleClientProxy
Microsoft.AspNetCore.Components.Server (5)
Circuits\CircuitClientProxy.cs (3)
15public CircuitClientProxy(ISingleClientProxy clientProxy, string connectionId) 24public ISingleClientProxy Client { get; private set; } 26public void Transfer(ISingleClientProxy clientProxy, string connectionId)
Circuits\CircuitRegistry.cs (2)
172public virtual async Task<CircuitHost> ConnectAsync(CircuitId circuitId, ISingleClientProxy clientProxy, string connectionId, CancellationToken cancellationToken) 231protected virtual (CircuitHost circuitHost, bool previouslyConnected) ConnectCore(CircuitId circuitId, ISingleClientProxy clientProxy, string connectionId)
Microsoft.AspNetCore.SignalR.Core (46)
ClientProxyExtensions.cs (32)
223/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 225/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 230public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, CancellationToken cancellationToken) 236/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 238/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 244public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, CancellationToken cancellationToken) 250/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 252/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 259public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, CancellationToken cancellationToken) 265/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 267/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 275public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, CancellationToken cancellationToken) 281/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 283/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 292public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, CancellationToken cancellationToken) 298/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 300/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 310public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, CancellationToken cancellationToken) 316/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 318/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 329public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, CancellationToken cancellationToken) 335/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 349public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, CancellationToken cancellationToken) 355/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 357/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 370public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, CancellationToken cancellationToken) 376/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 378/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 392public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, CancellationToken cancellationToken) 398/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a response. 400/// <param name="clientProxy">The <see cref="ISingleClientProxy"/>.</param> 415public static Task<T> InvokeAsync<T>(this ISingleClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, object? arg10, CancellationToken cancellationToken)
IHubCallerClients.cs (2)
18new ISingleClientProxy Client(string connectionId) => new NonInvokingSingleClientProxy(((IHubCallerClients<IClientProxy>)this).Client(connectionId), "IHubCallerClients.Client(string connectionId)"); 24new ISingleClientProxy Caller => new NonInvokingSingleClientProxy(((IHubCallerClients<IClientProxy>)this).Caller, "IHubCallerClients.Caller");
IHubClients.cs (1)
18new ISingleClientProxy Client(string connectionId) => new NonInvokingSingleClientProxy(((IHubClients<IClientProxy>)this).Client(connectionId), "IHubClients.Client(string connectionId)");
Internal\HubCallerClients.cs (6)
27public ISingleClientProxy Caller 49public ISingleClientProxy Client(string connectionId) 101private readonly ISingleClientProxy _proxy; 103public NoInvokeSingleClientProxy(ISingleClientProxy hubClients) 121private readonly ISingleClientProxy _proxy; 124public SingleClientProxy(ISingleClientProxy hubClients, HubCallerClients hubCallerClients)
Internal\HubClients.cs (1)
24public ISingleClientProxy Client(string connectionId)
Internal\TypedClientBuilder.cs (3)
132invokeMethod = typeof(ISingleClientProxy).GetMethod( 133nameof(ISingleClientProxy.InvokeCoreAsync), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, 180var singleClientProxyType = typeof(ISingleClientProxy);
ISingleClientProxy.cs (1)
16/// Invokes a method on the connection represented by the <see cref="ISingleClientProxy"/> instance and waits for a result.