QilSortKey.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / XmlUtils / System / Xml / Xsl / QIL / QilSortKey.cs / 1305376 / QilSortKey.cs

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

namespace System.Xml.Xsl.Qil { 

    /// 
    /// View over a Qil SortKey operator.
    ///  
    /// 
    /// Don't construct QIL nodes directly; instead, use the QilFactory. 
    ///  
    internal class QilSortKey : QilBinary {
 
        //-----------------------------------------------
        // Constructor
        //-----------------------------------------------
 
        /// 
        /// Construct a new node 
        ///  
        public QilSortKey(QilNodeType nodeType, QilNode key, QilNode collation) : base(nodeType, key, collation) {
        } 


        //-----------------------------------------------
        // QilSortKey methods 
        //-----------------------------------------------
 
        public QilNode Key { 
            get { return Left; }
            set { Left = value; } 
        }

        public QilNode Collation {
            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.Diagnostics; 

namespace System.Xml.Xsl.Qil { 

    /// 
    /// View over a Qil SortKey operator.
    ///  
    /// 
    /// Don't construct QIL nodes directly; instead, use the QilFactory. 
    ///  
    internal class QilSortKey : QilBinary {
 
        //-----------------------------------------------
        // Constructor
        //-----------------------------------------------
 
        /// 
        /// Construct a new node 
        ///  
        public QilSortKey(QilNodeType nodeType, QilNode key, QilNode collation) : base(nodeType, key, collation) {
        } 


        //-----------------------------------------------
        // QilSortKey methods 
        //-----------------------------------------------
 
        public QilNode Key { 
            get { return Left; }
            set { Left = value; } 
        }

        public QilNode Collation {
            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