private void InitBlock(TestIndexWriterExceptions enclosingInstance) { this.enclosingInstance = enclosingInstance; }
public IndexerThread(TestIndexWriterExceptions enclosingInstance, int i, IndexWriter writer) { InitBlock(enclosingInstance); Name = "Indexer " + i; this.writer = writer; }
public MockIndexWriter(TestIndexWriterExceptions enclosingInstance, Directory dir, Analyzer a, bool create, MaxFieldLength mfl):base(dir, a, create, mfl) { InitBlock(enclosingInstance); }