public override IQueryable <TElement> CreateQuery <TElement>(System.Linq.Expressions.Expression expression) { var contents = new ChildrenContentSet <TElement>(expression, ContextPath, SubTree, ChildrenDefinition) { CountOnlyEnabled = this.CountOnlyEnabled, HeadersOnlyEnabled = this.HeadersOnlyEnabled }; return((IQueryable <TElement>)contents); }
public LinqChildrenEnumerator(ChildrenContentSet <T> queryable) { _isContent = typeof(T) == typeof(Content); _queryable = queryable; }