/// <summary> /// Initializes a new instance. /// </summary> /// <param name="definitions"></param> /// <param name="configurations"></param> public BusRegistrationFactory(BusDefinitionProvider definitions, BusConfigurationProvider configurations) { this.definitions = definitions ?? throw new ArgumentNullException(nameof(definitions)); this.configurations = configurations ?? throw new ArgumentNullException(nameof(configurations)); }
/// <summary> /// Initializes a new instance. /// </summary> /// <param name="definitions"></param> public BusDefinitionNameSource(BusDefinitionProvider definitions) { this.definitions = definitions ?? throw new ArgumentNullException(nameof(definitions)); }