CQRSlite.Config.BusRegistrar.BusRegistrar C# (CSharp) Method

BusRegistrar() public method

public BusRegistrar ( IServiceLocator serviceLocator ) : System
serviceLocator IServiceLocator
return System
        public BusRegistrar(IServiceLocator serviceLocator)
        {
            if (serviceLocator == null)
            {
                throw new ArgumentNullException(nameof(serviceLocator));
            }

            _serviceLocator = serviceLocator;
        }