QilLoop.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilLoop.cs / 1 / QilLoop.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// [....] 
//-----------------------------------------------------------------------------
using System; 
using System.Collections; 
using System.Diagnostics;
using System.Xml.Schema; 
using System.Xml.Xsl;

namespace System.Xml.Xsl.Qil {
 
    /// 
    /// View over a Qil operators that introduce iterators (Loop, Filter, etc.). 
    ///  
    /// 
    /// Don't construct QIL nodes directly; instead, use the QilFactory. 
    /// 
    internal class QilLoop : QilBinary {

        //----------------------------------------------- 
        // Constructor
        //----------------------------------------------- 
 
        /// 
        /// Construct a new node 
        /// 
        public QilLoop(QilNodeType nodeType, QilNode variable, QilNode body) : base(nodeType, variable, body) {
        }
 

        //----------------------------------------------- 
        // QilLoop methods 
        //-----------------------------------------------
 
        public QilIterator Variable {
            get { return (QilIterator) Left; }
            set { Left = value; }
        } 

        public QilNode Body { 
            get { return Right; } 
            set { Right = value; }
        } 
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// [....] 
//-----------------------------------------------------------------------------
using System; 
using System.Collections; 
using System.Diagnostics;
using System.Xml.Schema; 
using System.Xml.Xsl;

namespace System.Xml.Xsl.Qil {
 
    /// 
    /// View over a Qil operators that introduce iterators (Loop, Filter, etc.). 
    ///  
    /// 
    /// Don't construct QIL nodes directly; instead, use the QilFactory. 
    /// 
    internal class QilLoop : QilBinary {

        //----------------------------------------------- 
        // Constructor
        //----------------------------------------------- 
 
        /// 
        /// Construct a new node 
        /// 
        public QilLoop(QilNodeType nodeType, QilNode variable, QilNode body) : base(nodeType, variable, body) {
        }
 

        //----------------------------------------------- 
        // QilLoop methods 
        //-----------------------------------------------
 
        public QilIterator Variable {
            get { return (QilIterator) Left; }
            set { Left = value; }
        } 

        public QilNode Body { 
            get { return Right; } 
            set { Right = value; }
        } 
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.

                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK