コード例 #1
0
        private void Configurate()
        {
            this.config = WatcherConfig.Load();
            this.logger = WatcherLogger.Load();

            this.HandleConfig();
            this.ConfigurateLogger();

            this.ConfigurateFileSystemWatcher();

            this.logger.Write(this.config, this.logger);

            BclResource.Culture = this.config.CultureInfo;
        }
コード例 #2
0
        public static IWatcherLogger Load()
        {
            IWatcherLogger logger = new WatcherLogger();

            return(logger);
        }