Esempio n. 1
0
 public DatabaseFileSystemProxy(
     IFileSystem fileSystem,
     IClock clock,
     ILogger logger,
     RecordEnvelopePool <TRecord> recordEnvelopePool,
     DatabaseFileSystemConfig config)
 {
     this._fileSystem         = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem));
     this._clock              = clock ?? throw new ArgumentNullException(nameof(clock));
     this._logger             = logger ?? throw new ArgumentNullException(nameof(logger));
     this._recordEnvelopePool = recordEnvelopePool ?? throw new ArgumentNullException(nameof(recordEnvelopePool));
     this._config             = config ?? throw new ArgumentNullException(nameof(config));
 }
Esempio n. 2
0
 internal RecordEnvelopeRef(int index, RecordEnvelopePool <TRecord> pool)
 {
     this.Index = index;
     this.Pool  = pool;
 }