public FeatureToggleEnvironmentDetector(IMogglesLoggingService featureToggleLoggingService, IMogglesConfigurationManager mogglesConfigurationManager, IMogglesBusService busService)
        {
            _featureToggleLoggingService = featureToggleLoggingService;
            _mogglesConfigurationManager = mogglesConfigurationManager;
            _busService = busService;

            AddCustomAssembliesToAssembliesToIgnoreList();
        }
示例#2
0
        private void ConfigureComponentsForMessaging()
        {
            _busService = CreateBusService();
            MogglesContainer.Register(_busService);

            _featureToggleEnvironmentDetector = new FeatureToggleEnvironmentDetector(_featureToggleLoggingService, _mogglesConfigurationManager, _busService);
            MogglesContainer.Register(_featureToggleEnvironmentDetector);
        }