Пример #1
0
 public static BaseWampHost RegisterAction <T1, T2, T3, T4, T5, T6, T7, T8>(this BaseWampHost listener, string procUri, Action <T1, T2, T3, T4, T5, T6, T7, T8> action)
 {
     listener.RegisterProcedure(ProcedureDefinitions.Create(procUri, action));
     return(listener);
 }
Пример #2
0
 public static BaseWampHost RegisterFunction <T1, T2, T3, T4, T5, TResult>(this BaseWampHost listener, string procUri, Func <T1, T2, T3, T4, T5, TResult> function)
 {
     listener.RegisterProcedure(ProcedureDefinitions.Create(procUri, function));
     return(listener);
 }
Пример #3
0
 public static BaseWampHost RegisterAction(this BaseWampHost listener, string procUri, Action action)
 {
     listener.RegisterProcedure(ProcedureDefinitions.Create(procUri, action));
     return(listener);
 }