コード例 #1
0
 public LinqToXmlIndex(XmlSearchContext context, IExecutionContext executionContext)
 {
     Assert.ArgumentNotNull(context, "context");
     _context             = context;
     _configuration       = (XmlIndexConfiguration)context.Index.Configuration;
     _queryOptimizer      = new XmlQueryOptimizer();
     _mapper              = new XmlQueryMapper();
     _fieldNameTranslator = context.Index.FieldNameTranslator;
 }
コード例 #2
0
 public LinqToXmlIndex(XmlSearchContext context) : this(context, null)
 {
 }