private static async Task InvokeAllExceptAsync(HubLifetimeManager <ClientHub> clientHubManager, HubMethodInvocationMessage message) { if (message.TryGetExcludedIds(out var excludedIds)) { await clientHubManager.InvokeAllExceptAsync(message.Target, message.Arguments, excludedIds); } }
public Task InvokeAsync(string method, params object[] args) { return(_lifetimeManager.InvokeAllExceptAsync(method, args, _excludedIds)); }