Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +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">[....]</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;
}
}
}