public FeatureToggleEnvironmentDetector(IMogglesLoggingService featureToggleLoggingService, IMogglesConfigurationManager mogglesConfigurationManager, IMogglesBusService busService) { _featureToggleLoggingService = featureToggleLoggingService; _mogglesConfigurationManager = mogglesConfigurationManager; _busService = busService; AddCustomAssembliesToAssembliesToIgnoreList(); }
private void ConfigureComponentsForMessaging() { _busService = CreateBusService(); MogglesContainer.Register(_busService); _featureToggleEnvironmentDetector = new FeatureToggleEnvironmentDetector(_featureToggleLoggingService, _mogglesConfigurationManager, _busService); MogglesContainer.Register(_featureToggleEnvironmentDetector); }