void EnsureMatcher()
 {
     if (null == this.iqMatcher)
     {
         this.iqMatcher = new InverseQueryMatcher();
     }
 }
Exemplo n.º 2
0
 private void Init(int capacity)
 {
     if (capacity <= 0)
     {
         this.filters = new Dictionary <MessageFilter, TFilterData>();
     }
     else
     {
         this.filters = new Dictionary <MessageFilter, TFilterData>(capacity);
     }
     if (this.iqMatcher == null)
     {
         this.iqMatcher = new InverseQueryMatcher(true);
     }
 }
 public XPathMessageQueryCollection()
 {
     this.matcher = new InverseQueryMatcher(false);
 }