File: System\Xml\XPath\Internal\Filter.cs
Project: ndp\fx\src\Xml\System.Xml.csproj (System.Xml)
//------------------------------------------------------------------------------
// <copyright file="Filter.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
// <owner current="true" primary="true">Microsoft</owner>
//------------------------------------------------------------------------------
 
namespace MS.Internal.Xml.XPath {
    using System;
    using System.Xml;
    using System.Xml.XPath;
    using System.Diagnostics;
    using System.Globalization;
 
    internal class Filter : AstNode {
        private AstNode input;
        private AstNode condition;
 
        public Filter( AstNode input, AstNode condition) {
            this.input = input;
            this.condition = condition;
        }
 
        public override AstType         Type       { get { return AstType.Filter;          } }
        public override XPathResultType ReturnType { get { return XPathResultType.NodeSet; } }
 
        public AstNode Input     { get { return input;     } }
        public AstNode Condition { get { return condition; } }
    }
}