Section navigation

Public struct ReaderLease<TReader>

Namespace
Rowles.LeanCorpus.Search.Searcher
Assembly
Rowles.LeanCorpus.dll

Provides the reader captured by a ReaderLease<TReader>.

public struct ReaderLease<TReader> : IDisposable where TReader : class, IDisposable

Type Parameters

TReader
Implements

Public property Reader

Gets the immutable reader view held by this lease.

Public method Dispose()

Releases the lease and allows the reader to be retired.