protected virtual void InitializeFileSystemWatcher(IFileSystem fileSystem, ILucenePackageRepository repository)
        {
            if (!EnablePackageFileWatcher)
            {
                return;
            }

            PackageFileSystemWatcher = new PackageFileSystemWatcher
            {
                FileSystem        = fileSystem,
                Indexer           = PackageIndexer,
                PackageRepository = repository
            };

            PackageFileSystemWatcher.Initialize();
        }
        private void InitializeFileSystemWatcher(IFileSystem fileSystem, ILucenePackageRepository repository)
        {
            if (!EnablePackageFileWatcher) return;

            PackageFileSystemWatcher = new PackageFileSystemWatcher
                {
                    FileSystem = fileSystem,
                    Indexer = PackageIndexer,
                    PackageRepository = repository
                };

            PackageFileSystemWatcher.Initialize();
        }