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