2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// <copyright file="QilDataSource.cs" company="Microsoft">
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// </copyright>
|
2017-08-21 15:34:15 +00:00
|
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
2016-08-03 10:59:49 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Xml.Schema;
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
|
|
|
namespace System.Xml.Xsl.Qil {
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// View over a Qil DataSource operator.
|
|
|
|
/// </summary>
|
|
|
|
/// <remarks>
|
|
|
|
/// Don't construct QIL nodes directly; instead, use the <see cref="QilFactory">QilFactory</see>.
|
|
|
|
/// </remarks>
|
|
|
|
internal class QilDataSource : QilBinary {
|
|
|
|
|
|
|
|
//-----------------------------------------------
|
|
|
|
// Constructor
|
|
|
|
//-----------------------------------------------
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Construct a new node
|
|
|
|
/// </summary>
|
|
|
|
public QilDataSource(QilNodeType nodeType, QilNode name, QilNode baseUri) : base(nodeType, name, baseUri) {
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//-----------------------------------------------
|
|
|
|
// QilDataSource methods
|
|
|
|
//-----------------------------------------------
|
|
|
|
|
|
|
|
public QilNode Name {
|
|
|
|
get { return Left; }
|
|
|
|
set { Left = value; }
|
|
|
|
}
|
|
|
|
|
|
|
|
public QilNode BaseUri {
|
|
|
|
get { return Right; }
|
|
|
|
set { Right = value; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|