1 interface inheriting from IClientProxy
Microsoft.AspNetCore.SignalR.Core (1)
11 implementations of IClientProxy
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.SignalR.Core (8)
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Microsoft.AspNetCore.SignalR.Tests (1)
120 references to IClientProxy
Microsoft.AspNetCore.Components.Server (7)
Microsoft.AspNetCore.Components.Server.Tests (31)
Microsoft.AspNetCore.SignalR.Core (79)
ClientProxyExtensions.cs (35)
9/// Extension methods for <see cref="IClientProxy"/>.
14/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
17/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
22public static Task SendAsync(this IClientProxy clientProxy, string method, CancellationToken cancellationToken = default)
28/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
31/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
37public static Task SendAsync(this IClientProxy clientProxy, string method, object? arg1, CancellationToken cancellationToken = default)
43/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
46/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
53public static Task SendAsync(this IClientProxy clientProxy, string method, object? arg1, object? arg2, CancellationToken cancellationToken = default)
59/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
62/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
70public static Task SendAsync(this IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, CancellationToken cancellationToken = default)
76/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
79/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
88public static Task SendAsync(this IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, CancellationToken cancellationToken = default)
94/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
97/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
107public static Task SendAsync(this IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, CancellationToken cancellationToken = default)
113/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
116/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
127public static Task SendAsync(this IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, CancellationToken cancellationToken = default)
133/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
136/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
148public static Task SendAsync(this IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, CancellationToken cancellationToken = default)
154/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
157/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
170public static Task SendAsync(this IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, CancellationToken cancellationToken = default)
176/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
179/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
193public static Task SendAsync(this IClientProxy clientProxy, string method, object? arg1, object? arg2, object? arg3, object? arg4, object? arg5, object? arg6, object? arg7, object? arg8, object? arg9, CancellationToken cancellationToken = default)
199/// Invokes a method on the connection(s) represented by the <see cref="IClientProxy"/> instance.
202/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
217public static Task SendAsync(this IClientProxy 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 = default)
337/// <param name="clientProxy">The <see cref="IClientProxy"/></param>
Internal\TypedClientBuilder.cs (10)
17private static readonly Lazy<Func<IClientProxy, T>> _builder = new Lazy<Func<IClientProxy, T>>(GenerateClientBuilder);
23private static readonly Type[] ParameterTypes = new Type[] { typeof(IClientProxy) };
25public static T Build(IClientProxy proxy)
36private static Func<IClientProxy, T> GenerateClientBuilder()
46return (Func<IClientProxy, T>)factoryMethod!.CreateDelegate(typeof(Func<IClientProxy, T>));
56var proxyField = type.DefineField("_proxy", typeof(IClientProxy), FieldAttributes.Private | FieldAttributes.InitOnly);
139invokeMethod = typeof(IClientProxy).GetMethod(
140nameof(IClientProxy.SendCoreAsync), BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null,
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Microsoft.AspNetCore.SignalR.Tests (2)