logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject cvs commit: logging-log4net/src/Appender AnsiColorTerminalAppender.cs
Date Sun, 19 Dec 2004 19:22:01 GMT
nicko       2004/12/19 11:22:01

  Modified:    src/Appender AnsiColorTerminalAppender.cs
  Log:
  Updates suggested by FxCop.
  Minor naming changes to internal types.
  Perf improvements to type check + type cast code.
  
  Revision  Changes    Path
  1.4       +5 -5      logging-log4net/src/Appender/AnsiColorTerminalAppender.cs
  
  Index: AnsiColorTerminalAppender.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Appender/AnsiColorTerminalAppender.cs,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AnsiColorTerminalAppender.cs	6 Dec 2004 02:20:50 -0000	1.3
  +++ AnsiColorTerminalAppender.cs	19 Dec 2004 19:22:01 -0000	1.4
  @@ -164,7 +164,7 @@
   		/// </para>
   		/// </remarks>
   		/// <seealso cref="AnsiColorTerminalAppender" />
  -		public enum AnsiColors : int
  +		public enum AnsiColor : int
   		{
   			/// <summary>
   			/// color is black
  @@ -440,8 +440,8 @@
   		/// </remarks>
   		public class LevelColors : LevelMappingEntry
   		{
  -			private AnsiColors m_foreColor;
  -			private AnsiColors m_backColor;
  +			private AnsiColor m_foreColor;
  +			private AnsiColor m_backColor;
   			private AnsiAttributes m_attributes;
   			private string m_combinedColor = "";
   
  @@ -454,7 +454,7 @@
   			/// The mapped foreground color for the specified level
   			/// </para>
   			/// </remarks>
  -			public AnsiColors ForeColor
  +			public AnsiColor ForeColor
   			{
   				get { return m_foreColor; }
   				set { m_foreColor = value; }
  @@ -469,7 +469,7 @@
   			/// The mapped background color for the specified level
   			/// </para>
   			/// </remarks>
  -			public AnsiColors BackColor
  +			public AnsiColor BackColor
   			{
   				get { return m_backColor; }
   				set { m_backColor = value; }
  
  
  

Mime
View raw message