The Labs \ Source Viewer \ SSCLI \ System.Xml.Xsl.Qil \ QilSortKey

  1. //------------------------------------------------------------------------------
  2. // <copyright file="QilSortKey.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. using System;
  16. using System.Diagnostics;
  17. namespace System.Xml.Xsl.Qil
  18. {
  19.    
  20.     /// <summary>
  21.     /// View over a Qil SortKey operator.
  22.     /// </summary>
  23.     /// <remarks>
  24.     /// Don't construct QIL nodes directly; instead, use the <see cref="QilFactory">QilFactory</see>.
  25.     /// </remarks>
  26.     internal class QilSortKey : QilBinary
  27.     {
  28.        
  29.         //-----------------------------------------------
  30.         // Constructor
  31.         //-----------------------------------------------
  32.        
  33.         /// <summary>
  34.         /// Construct a new node
  35.         /// </summary>
  36.         public QilSortKey(QilNodeType nodeType, QilNode key, QilNode collation) : base(nodeType, key, collation)
  37.         {
  38.         }
  39.        
  40.        
  41.         //-----------------------------------------------
  42.         // QilSortKey methods
  43.         //-----------------------------------------------
  44.        
  45.         public QilNode Key {
  46.             get { return Left; }
  47.             set { Left = value; }
  48.         }
  49.        
  50.         public QilNode Collation {
  51.             get { return Right; }
  52.             set { Right = value; }
  53.         }
  54.     }
  55. }

Developer Fusion