コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RhinoServiceBusAbstractor"/> class.
 /// </summary>
 /// <param name="serviceLocator">The service locator.</param>
 /// <param name="bus">The bus.</param>
 public RhinoServiceBusAbstractor(IServiceLocator serviceLocator, IServiceBus 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;
 }
コード例 #2
0
 public TransportHandler(IServiceBus bus)
 {
     _bus = bus;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RhinoWrapServiceBusAbstractor"/> class.
 /// </summary>
 /// <param name="serviceLocator">The service locator.</param>
 /// <param name="bus">The bus.</param>
 public RhinoWrapServiceBusAbstractor(IServiceLocator serviceLocator, IServiceBus bus)
     : base(serviceLocator, bus)
 {
 }