public LocalEventGenerator(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; } }