Ejemplo n.º 1
0
 public MockConnectionFactory(InMemoryTransport transport)
 {
     _transport = transport;
 }
Ejemplo n.º 2
0
 public MockHubConnection()
 {
     _transport           = new InMemoryTransport(_messageStore);
     _hubConnection       = new Lazy <HubConnection>(CreateHubConnection, LazyThreadSafetyMode.None);
     HubConnectionBuilder = new MockHubConnectionBuilder(this);
 }