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