Beagrep.Daemon.FilterFactory.FilterFactory C# (CSharp) Метод

FilterFactory() статический приватный Метод

static private FilterFactory ( ) : System
Результат System
        static FilterFactory()
        {
            FilterCache filter_cache = new FilterCache (filter_cache_dir);
            ReflectionFu.ScanEnvironmentForAssemblies ("BEAGREP_FILTER_PATH", PathFinder.FilterDir,
                                   delegate (Assembly a) {
                                       int n = ScanAssemblyForFilters (a, filter_cache);
                                       Logger.Log.Debug ("Loaded {0} filter{1} from {2}",
                                                 n, n == 1 ? "" : "s", a.Location);
                                   });

            // FIXME: Up external filter version if external-filters.xml is modified

            // Check if cache is dirty and also update the cache on the disk
            cache_dirty = filter_cache.UpdateCache ();
        }