Xamarin Public Jenkins (auto-signing) 536cd135cc Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
2017-08-21 15:34:15 +00:00

47 lines
1.5 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="NamespaceDecl.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="true">Microsoft</owner>
//------------------------------------------------------------------------------
namespace System.Xml.Xsl.XsltOld {
using Res = System.Xml.Utils.Res;
using System;
using System.Xml;
internal class NamespaceDecl {
private string prefix;
private string nsUri;
private string prevDefaultNsUri;
private NamespaceDecl next;
internal string Prefix {
get { return this.prefix; }
}
internal string Uri {
get { return this.nsUri; }
}
internal string PrevDefaultNsUri {
get { return this.prevDefaultNsUri; }
}
internal NamespaceDecl Next {
get { return this.next; }
}
internal NamespaceDecl(string prefix, string nsUri, string prevDefaultNsUri, NamespaceDecl next) {
Init(prefix, nsUri, prevDefaultNsUri, next);
}
internal void Init(string prefix, string nsUri, string prevDefaultNsUri, NamespaceDecl next) {
this.prefix = prefix;
this.nsUri = nsUri;
this.prevDefaultNsUri = prevDefaultNsUri;
this.next = next;
}
}
}