Invoke() public static method

public static Invoke ( IConnection connection, string signal, string hubName, string method, object args ) : System.Threading.Tasks.Task
connection IConnection
signal string
hubName string
method string
args object
return System.Threading.Tasks.Task
Example #1
0
 public Task Invoke(string method, params object[] args)
 {
     return(ClientAgent.Invoke(_connection, _signal, _hubName, method, args));
 }
Example #2
0
        public static Task Invoke(string hubName, string method, params object[] args)
        {
            var connection = Connection.GetConnection <HubDispatcher>();

            return(ClientAgent.Invoke(connection, method, hubName, method, args));
        }