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 2011/09/16 11:41:33 UTC

svn commit: r1171475 - /logging/log4net/trunk/src/Appender/RollingFileAppender.cs

Author: bodewig
Date: Fri Sep 16 09:41:32 2011
New Revision: 1171475

URL: http://svn.apache.org/viewvc?rev=1171475&view=rev
Log:
conditional blocks and XML comments don't mix as I would have expected them to

Modified:
    logging/log4net/trunk/src/Appender/RollingFileAppender.cs

Modified: logging/log4net/trunk/src/Appender/RollingFileAppender.cs
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/src/Appender/RollingFileAppender.cs?rev=1171475&r1=1171474&r2=1171475&view=diff
==============================================================================
--- logging/log4net/trunk/src/Appender/RollingFileAppender.cs (original)
+++ logging/log4net/trunk/src/Appender/RollingFileAppender.cs Fri Sep 16 09:41:32 2011
@@ -239,13 +239,12 @@ namespace log4net.Appender
 
 		#region Public Instance Properties
 
-		/// <summary>
+#if !NET_1_0
+        /// <summary>
 		/// Gets or sets the strategy for determining the current date and time. The default
 		/// implementation is to use LocalDateTime which internally calls through to DateTime.Now. 
-#if !NET_1_0
 		/// DateTime.UtcNow may be used on frameworks newer than .NET 1.0 by specifying
 		/// <see cref="RollingFileAppender.UniversalDateTime"/>.
-#endif
 		/// </summary>
 		/// <value>
 		/// An implementation of the <see cref="RollingFileAppender.IDateTime"/> interface which returns the current date and time.
@@ -254,18 +253,33 @@ namespace log4net.Appender
 		/// <para>
 		/// Gets or sets the <see cref="RollingFileAppender.IDateTime"/> used to return the current date and time.
 		/// </para>
-		/// <para>
-		/// There are two built strategies for determining the current date and time, 
+        /// <para>
+        /// There are two built strategies for determining the current date and time, 
 		/// <see cref="RollingFileAppender.LocalDateTime"/>
-#if !NET_1_0
         /// and <see cref="RollingFileAppender.UniversalDateTime"/>.
-#endif
         /// </para>
+        /// <para>
+		/// The default strategy is <see cref="RollingFileAppender.LocalDateTime"/>.
+		/// </para>
+		/// </remarks>
+#else
+        /// <summary>
+		/// Gets or sets the strategy for determining the current date and time. The default
+		/// implementation is to use LocalDateTime which internally calls through to DateTime.Now. 
+		/// </summary>
+		/// <value>
+		/// An implementation of the <see cref="RollingFileAppender.IDateTime"/> interface which returns the current date and time.
+		/// </value>
+		/// <remarks>
 		/// <para>
+		/// Gets or sets the <see cref="RollingFileAppender.IDateTime"/> used to return the current date and time.
+		/// </para>
+        /// <para>
 		/// The default strategy is <see cref="RollingFileAppender.LocalDateTime"/>.
 		/// </para>
 		/// </remarks>
-		public IDateTime DateTimeStrategy
+#endif
+        public IDateTime DateTimeStrategy
 		{
 			get { return m_dateTime; }
 			set { m_dateTime = value; }