Inheritance: IHubOutgoingInvokerContext
Exemple #1
0
        public Task Invoke(string method, params object[] args)
        {
            var invocation = GetInvocationData(method, args);

            var context = new HubOutgoingInvokerContext(Connection, Signal, invocation)
            {
                ExcludedSignals = _exclude
            };

            return(Invoker.Send(context));
        }
        public Task Invoke(string method, params object[] args)
        {
            var invocation = GetInvocationData(method, args);

            var context = new HubOutgoingInvokerContext(_connection, _signals, invocation)
            {
                ExcludedSignals = _exclude
            };

            return _invoker.Send(context);
        }
        public Task Invoke(string method, params object[] args)
        {
            var invocation = new ClientHubInvocation
            {
                Hub    = _hubName,
                Method = method,
                Args   = args
            };

            var context = new HubOutgoingInvokerContext(_connection, _signal, invocation)
            {
                ExcludedSignals = _exclude
            };

            return(_invoker.Send(context));
        }
        public Task Invoke(string method, params object[] args)
        {
            var invocation = new ClientHubInvocation
            {
                Hub = _hubName,
                Method = method,
                Args = args
            };
            
            var context = new HubOutgoingInvokerContext(_connection, _signal, invocation)
            {
                ExcludedSignals = _exclude
            };

            return _invoker.Send(context);
        }