You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by bo...@apache.org on 2018/05/30 19:44:57 UTC

[08/10] logging-log4net git commit: LOG4NET-586 make properties virtual

LOG4NET-586 make properties virtual


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/403fd19e
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/403fd19e
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/403fd19e

Branch: refs/heads/feature/LOG4NET-586
Commit: 403fd19e18877a46111baf84c8d6f894ca8b24ac
Parents: bc05ace
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue May 29 20:53:42 2018 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Wed May 30 21:44:36 2018 +0200

----------------------------------------------------------------------
 src/Layout/XmlLayoutBaseNS.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/403fd19e/src/Layout/XmlLayoutBaseNS.cs
----------------------------------------------------------------------
diff --git a/src/Layout/XmlLayoutBaseNS.cs b/src/Layout/XmlLayoutBaseNS.cs
index c4fe537..c3e1f5b 100644
--- a/src/Layout/XmlLayoutBaseNS.cs
+++ b/src/Layout/XmlLayoutBaseNS.cs
@@ -131,7 +131,7 @@ namespace log4net.Layout
 		/// <summary>
 		/// The namespace URI to use for the elements and attributes written by this layout.
 		/// </summary>
-		public string NamespaceUri
+		public virtual string NamespaceUri
 		{
 			get { return m_namespaceUri; }
 			set { m_namespaceUri = value; }
@@ -146,7 +146,7 @@ namespace log4net.Layout
 		/// select the prefix or use no prefix at all.
 		/// </para>
 		/// </remarks>
-		public string Prefix
+		public virtual string Prefix
 		{
 			get { return m_prefix; }
 			set { m_prefix = value; }