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;
        }
Ejemplo n.º 2
0
        public static IWatcherLogger Load()
        {
            IWatcherLogger logger = new WatcherLogger();

            return(logger);
        }