예제 #1
0
        public SuppressionFilesController
        (
            ISuppressionFilesRequestValidator validator,

            SettingsProvider settings,
            Logger logger
        )
        {
            Logger = logger;
            Logger.Trace("Initializing WebAPI Service...");

            _validator = validator;

            _settings = settings;
            _powerUser = new NetworkCredential(_settings.PowerUserName, _settings.PowerUserPassword, _settings.PowerUserDomain);
        }
예제 #2
0
 public HomeController(SettingsProvider settings)
 {
     _settings = settings;
 }