CmisSync.Lib.Producer.Crawler.CrawlEventGenerator.CrawlEventGenerator C# (CSharp) Метод

CrawlEventGenerator() публичный Метод

public CrawlEventGenerator ( IMetaDataStorage storage, IFileSystemInfoFactory fsFactory = null ) : System
storage IMetaDataStorage
fsFactory IFileSystemInfoFactory
Результат System
        public CrawlEventGenerator(IMetaDataStorage storage, IFileSystemInfoFactory fsFactory = null) {
            if (storage == null) {
                throw new ArgumentNullException("storage");
            }

            this.storage = storage;
            if (fsFactory == null) {
                this.fsFactory = new FileSystemInfoFactory();
            } else {
                this.fsFactory = fsFactory;
            }

            this.localEventGenerator = new LocalEventGenerator(this.storage, this.fsFactory);
            this.remoteEventGenerator = new RemoteEventGenerator(this.storage);
        }