Esempio n. 1
0
 public static FilterManager GetInstance()
 {
     lock (typeof(Mono.Lucene.Net.Search.FilterManager))
     {
         if (manager == null)
         {
             manager = new FilterManager();
         }
         return(manager);
     }
 }
Esempio n. 2
0
 public FilterItem(FilterManager enclosingInstance, Filter filter)
 {
     InitBlock(enclosingInstance);
     this.filter    = filter;
     this.timestamp = System.DateTime.Now.Ticks;
 }
Esempio n. 3
0
 public FilterCleaner(FilterManager enclosingInstance)
 {
     this.manager = enclosingInstance;
     filterItems  = new List <FilterItem>();
 }
Esempio n. 4
0
 private void  InitBlock(FilterManager enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }