/// <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; }
public TransportHandler(IServiceBus bus) { _bus = bus; }
/// <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) { }