Exemplo n.º 1
0
 public FileSystemQuery_SignalrDispatcherFixture()
 {
     Console.WriteLine("Starting Service Dispatcher");
     Task.Run(async() =>
     {
         _dispatcher = RelayDispatcher <SignalrRelayDispatcher <FileSystemQueryService, FileSystemQueryRequest, FileSystemQueryResponse>, FileSystemQueryService, FileSystemQueryRequest, FileSystemQueryResponse> .CreateInstance();
         await _dispatcher.StartAsync(_ct);
     });
     Console.WriteLine("Service Dispatcher started.");
 }
Exemplo n.º 2
0
 public Calculator_SignalrDispatcherFixture()
 {
     Console.WriteLine("Starting Service Dispatcher");
     Task.Run(async() =>
     {
         _dispatcher = RelayDispatcher <SignalrRelayDispatcher <CalculatorService, CalculatorRequest, CalculatorResponse>, CalculatorService, CalculatorRequest, CalculatorResponse> .CreateInstance();
         await _dispatcher.StartAsync(_ct);
     });
     Console.WriteLine("Service Dispatcher started.");
 }