Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OnewayRhinoServiceBusAbstractor"/> class.
 /// </summary>
 /// <param name="serviceLocator">The service locator.</param>
 /// <param name="bus">The bus.</param>
 public OnewayRhinoServiceBusAbstractor(IServiceLocator serviceLocator, IOnewayBus bus)
 {
     if (serviceLocator == null)
     {
         throw new ArgumentNullException("serviceLocator");
     }
     if (bus == null)
     {
         throw new ArgumentNullException("bus", "The specified bus cannot be null.");
     }
     _serviceLocator = serviceLocator;
     Bus             = bus;
 }
Exemplo n.º 2
0
 public RhinoEsbOneWayCommandQueue(IOnewayBus bus)
 {
     _bus = bus;
 }
Exemplo n.º 3
0
 public CartController(IIdentity identity, ISession session, IOnewayBus bus)
 {
     _identity = identity;
     _session  = session;
     _bus      = bus;
 }
Exemplo n.º 4
0
 public OrderController(ISession session, IOnewayBus bus)
 {
     _session = session;
     _bus     = bus;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OnewayRhinoWrapServiceBusAbstractor"/> class.
 /// </summary>
 /// <param name="serviceLocator">The service locator.</param>
 /// <param name="bus">The bus.</param>
 public OnewayRhinoWrapServiceBusAbstractor(IServiceLocator serviceLocator, IOnewayBus bus)
     : base(serviceLocator, bus)
 {
 }