Exemplo n.º 1
0
 /// <summary>
 /// Creates the fake advanced API, using the given implementation(s). All arguments are optional
 /// </summary>
 public FakeAdvancedApi(IWorkersApi workers = null, ITopicsApi topics = null, IRoutingApi routing = null, ITransportMessageApi transportMessage = null, IDataBus dataBus = null)
 {
     _workers = workers;
     _topics = topics;
     _routing = routing;
     _transportMessage = transportMessage;
     _dataBus = dataBus;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates the fake advanced API, using the given implementation(s). All arguments are optional
 /// </summary>
 public FakeAdvancedApi(IWorkersApi workers = null, ITopicsApi topics = null, IRoutingApi routing = null, ITransportMessageApi transportMessage = null, IDataBus dataBus = null)
 {
     _workers          = workers;
     _topics           = topics;
     _routing          = routing;
     _transportMessage = transportMessage;
     _dataBus          = dataBus;
 }
Exemplo n.º 3
0
 public TopicsController(ITopicsApi topicsApi)
 {
     _topicsApi = topicsApi;
 }