Whitespace

This commit is contained in:
Chris Cameron
2017-09-27 13:49:13 -04:00
parent ac885e9837
commit d598d42cff
14 changed files with 174 additions and 183 deletions

View File

@@ -83,7 +83,7 @@ namespace ICD.Common.Utils
e.Message); e.Message);
} }
foreach (var type in types) foreach (CType type in types)
CacheType(type); CacheType(type);
} }

View File

@@ -209,8 +209,6 @@ namespace ICD.Common.Utils.Extensions
.SelectMany(s => s.Split(delimitersArray.Skip(1))); .SelectMany(s => s.Split(delimitersArray.Skip(1)));
} }
/// <summary> /// <summary>
/// Removes whitespace from the string. /// Removes whitespace from the string.
/// </summary> /// </summary>

View File

@@ -2,6 +2,7 @@
#if SIMPLSHARP #if SIMPLSHARP
using Crestron.SimplSharp.CrestronIO; using Crestron.SimplSharp.CrestronIO;
using GC = Crestron.SimplSharp.CrestronEnvironment.GC; using GC = Crestron.SimplSharp.CrestronEnvironment.GC;
#else #else
using System.IO; using System.IO;
using GC = System.GC; using GC = System.GC;
@@ -46,9 +47,7 @@ namespace ICD.Common.Utils.IO
return; return;
if (disposing) if (disposing)
{
m_TextWriter.Dispose(); m_TextWriter.Dispose();
}
m_Disposed = true; m_Disposed = true;
} }
} }

View File

@@ -34,13 +34,7 @@ namespace ICD.Common.Utils
/// Gets the program number. /// Gets the program number.
/// </summary> /// </summary>
[PublicAPI] [PublicAPI]
public static uint ProgramNumber public static uint ProgramNumber { get { return InitialParametersClass.ApplicationNumber; } }
{
get
{
return InitialParametersClass.ApplicationNumber;
}
}
/// <summary> /// <summary>
/// Gets the compile date of the program. /// Gets the compile date of the program.

View File

@@ -1,8 +1,8 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using ICD.Common.Utils.EventArguments;
using ICD.Common.Properties; using ICD.Common.Properties;
using ICD.Common.Utils.EventArguments;
#if SIMPLSHARP #if SIMPLSHARP
using Crestron.SimplSharp.CrestronXml; using Crestron.SimplSharp.CrestronXml;
#else #else

View File

@@ -2,8 +2,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using ICD.Common.Utils.EventArguments;
using ICD.Common.Properties; using ICD.Common.Properties;
using ICD.Common.Utils.EventArguments;
using ICD.Common.Utils.Extensions; using ICD.Common.Utils.Extensions;
using ICD.Common.Utils.IO; using ICD.Common.Utils.IO;