Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / System.Data.SqlXml / System / Xml / Xsl / QIL / QilSortKey.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="QilSortKey.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
7 using System;
8 using System.Diagnostics;
9
10 namespace System.Xml.Xsl.Qil {
11
12     /// <summary>
13     /// View over a Qil SortKey operator.
14     /// </summary>
15     /// <remarks>
16     /// Don't construct QIL nodes directly; instead, use the <see cref="QilFactory">QilFactory</see>.
17     /// </remarks>
18     internal class QilSortKey : QilBinary {
19
20         //-----------------------------------------------
21         // Constructor
22         //-----------------------------------------------
23
24         /// <summary>
25         /// Construct a new node
26         /// </summary>
27         public QilSortKey(QilNodeType nodeType, QilNode key, QilNode collation) : base(nodeType, key, collation) {
28         }
29
30
31         //-----------------------------------------------
32         // QilSortKey methods
33         //-----------------------------------------------
34
35         public QilNode Key {
36             get { return Left; }
37             set { Left = value; }
38         }
39
40         public QilNode Collation {
41             get { return Right; }
42             set { Right = value; }
43         }
44     }
45 }