예제 #1
0
 /// <summary>
 /// Expert: remove a previously added <seealso cref="ReaderClosedListener"/>.
 ///
 /// @lucene.experimental
 /// </summary>
 public void RemoveReaderClosedListener(ReaderClosedListener listener)
 {
     EnsureOpen();
     ReaderClosedListeners.Remove(listener);
 }
예제 #2
0
 /// <summary>
 /// Expert: remove a previously added <seealso cref="ReaderClosedListener"/>.
 ///
 /// @lucene.experimental
 /// </summary>
 public void RemoveReaderClosedListener(ReaderClosedListener listener)
 {
     EnsureOpen();
     ReaderClosedListeners.Remove(listener);
 }
예제 #3
0
 /// <summary>
 /// Expert: adds a <seealso cref="ReaderClosedListener"/>.  The
 /// provided listener will be invoked when this reader is closed.
 ///
 /// @lucene.experimental
 /// </summary>
 public void AddReaderClosedListener(ReaderClosedListener listener)
 {
     EnsureOpen();
     ReaderClosedListeners.Add(listener);
 }
예제 #4
0
 /// <summary>
 /// Expert: adds a <seealso cref="ReaderClosedListener"/>.  The
 /// provided listener will be invoked when this reader is closed.
 ///
 /// @lucene.experimental
 /// </summary>
 public void AddReaderClosedListener(ReaderClosedListener listener)
 {
     EnsureOpen();
     ReaderClosedListeners.Add(listener);
 }