1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System; 6 using System.Collections.Generic; 7 using System.Xml.Schema; 8 using System.Diagnostics; 9 10 namespace System.Xml.Xsl.Qil 11 { 12 /// <summary> 13 /// View over a Qil DataSource 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 QilDataSource : QilBinary 19 { 20 //----------------------------------------------- 21 // Constructor 22 //----------------------------------------------- 23 24 /// <summary> 25 /// Construct a new node 26 /// </summary> QilDataSource(QilNodeType nodeType, QilNode name, QilNode baseUri)27 public QilDataSource(QilNodeType nodeType, QilNode name, QilNode baseUri) : base(nodeType, name, baseUri) 28 { 29 } 30 31 32 //----------------------------------------------- 33 // QilDataSource methods 34 //----------------------------------------------- 35 36 public QilNode Name 37 { 38 get { return Left; } 39 set { Left = value; } 40 } 41 42 public QilNode BaseUri 43 { 44 get { return Right; } 45 set { Right = value; } 46 } 47 } 48 } 49