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

  1. //------------------------------------------------------------------------------
  2. // <copyright file="QilDataSource.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.Collections.Generic;
  17. using System.Xml.Schema;
  18. using System.Diagnostics;
  19. namespace System.Xml.Xsl.Qil
  20. {
  21.    
  22.     /// <summary>
  23.     /// View over a Qil DataSource operator.
  24.     /// </summary>
  25.     /// <remarks>
  26.     /// Don't construct QIL nodes directly; instead, use the <see cref="QilFactory">QilFactory</see>.
  27.     /// </remarks>
  28.     internal class QilDataSource : QilBinary
  29.     {
  30.        
  31.         //-----------------------------------------------
  32.         // Constructor
  33.         //-----------------------------------------------
  34.        
  35.         /// <summary>
  36.         /// Construct a new node
  37.         /// </summary>
  38.         public QilDataSource(QilNodeType nodeType, QilNode name, QilNode baseUri) : base(nodeType, name, baseUri)
  39.         {
  40.         }
  41.        
  42.        
  43.         //-----------------------------------------------
  44.         // QilDataSource methods
  45.         //-----------------------------------------------
  46.        
  47.         public QilNode Name {
  48.             get { return Left; }
  49.             set { Left = value; }
  50.         }
  51.        
  52.         public QilNode BaseUri {
  53.             get { return Right; }
  54.             set { Right = value; }
  55.         }
  56.     }
  57. }

Developer Fusion