From e7d1b6ec8353890638f19056dd8ddd0486591ce6 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Sun, 30 Jul 2017 13:50:31 -0400 Subject: [PATCH] Tidying --- ICD.Common.Utils/IcdEnvironment.cs | 2 +- ICD.Common.Utils/IcdErrorLog.cs | 2 +- ICD.Common.Utils/IcdZip.cs | 1 - ICD.Common.Utils/Services/Logging/LogItem.cs | 18 +++++++++--------- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/ICD.Common.Utils/IcdEnvironment.cs b/ICD.Common.Utils/IcdEnvironment.cs index afe1f6c..f947cab 100644 --- a/ICD.Common.Utils/IcdEnvironment.cs +++ b/ICD.Common.Utils/IcdEnvironment.cs @@ -5,7 +5,7 @@ namespace ICD.Common.Utils public static partial class IcdEnvironment { /// - /// Enumeration to define the various runtime environments a SIMPL# module can run in. + /// Enumeration to define the various runtime environments a module can run in. /// public enum eRuntimeEnvironment { diff --git a/ICD.Common.Utils/IcdErrorLog.cs b/ICD.Common.Utils/IcdErrorLog.cs index 7786502..f9580ef 100644 --- a/ICD.Common.Utils/IcdErrorLog.cs +++ b/ICD.Common.Utils/IcdErrorLog.cs @@ -153,7 +153,7 @@ namespace ICD.Common.Utils #else System.Console.ForegroundColor = ConsoleColor.Yellow; System.Console.BackgroundColor = ConsoleColor.Red; - System.Console.Error.WriteLine("{0}: {1}", ex.GetType().Name, message); + System.Console.Error.WriteLine("{0}: {1}", ex.GetType().Name, message); System.Console.ResetColor(); System.Console.Error.WriteLine(ex.StackTrace); #endif diff --git a/ICD.Common.Utils/IcdZip.cs b/ICD.Common.Utils/IcdZip.cs index c75bf12..fce6fb7 100644 --- a/ICD.Common.Utils/IcdZip.cs +++ b/ICD.Common.Utils/IcdZip.cs @@ -1,6 +1,5 @@ #if SIMPLSHARP using Crestron.SimplSharp; - #else using System; using System.IO.Compression; diff --git a/ICD.Common.Utils/Services/Logging/LogItem.cs b/ICD.Common.Utils/Services/Logging/LogItem.cs index ca4fafa..0906745 100644 --- a/ICD.Common.Utils/Services/Logging/LogItem.cs +++ b/ICD.Common.Utils/Services/Logging/LogItem.cs @@ -6,7 +6,7 @@ using ICD.Common.Utils; namespace ICD.Common.Services.Logging { /// - /// Log Entry Item + /// Log Entry Item /// public struct LogItem { @@ -17,18 +17,18 @@ namespace ICD.Common.Services.Logging #region Properties /// - /// Accessor only for timestamp. + /// Accessor only for timestamp. /// [PublicAPI] public DateTime Timestamp { get { return m_Timestamp; } } /// - /// Get/Set for severity level. + /// Get/Set for severity level. /// public eSeverity Severity { get { return m_Severity; } } /// - /// Get/Set for message string. + /// Get/Set for message string. /// public string Message { get { return m_Message; } } @@ -37,7 +37,7 @@ namespace ICD.Common.Services.Logging #region Constructors /// - /// Creates a new LogItem object with the specified values. + /// Creates a new LogItem object with the specified values. /// /// Severity Level, between 0 and 7 /// Error message text @@ -53,7 +53,7 @@ namespace ICD.Common.Services.Logging #region Methods /// - /// Return the text format to send to Fusion + /// Return the text format to send to Fusion /// /// text format for fusion, including timestamp, severity, and message [PublicAPI] @@ -71,7 +71,7 @@ namespace ICD.Common.Services.Logging } /// - /// Implementing default equality. + /// Implementing default equality. /// /// /// @@ -82,7 +82,7 @@ namespace ICD.Common.Services.Logging } /// - /// Implementing default inequality. + /// Implementing default inequality. /// /// /// @@ -93,7 +93,7 @@ namespace ICD.Common.Services.Logging } /// - /// Returns true if this instance is equal to the given object. + /// Returns true if this instance is equal to the given object. /// /// ///