mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 05:05:05 +00:00
Tidying
This commit is contained in:
@@ -7,7 +7,7 @@ using Crestron.SimplSharp;
|
|||||||
|
|
||||||
namespace ICD.Common.Utils
|
namespace ICD.Common.Utils
|
||||||
{
|
{
|
||||||
public sealed class IcdConsole
|
public static class IcdConsole
|
||||||
{
|
{
|
||||||
public enum eAccessLevel
|
public enum eAccessLevel
|
||||||
{
|
{
|
||||||
@@ -48,7 +48,7 @@ namespace ICD.Common.Utils
|
|||||||
CrestronConsole.Print(message);
|
CrestronConsole.Print(message);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
System.Console.Write(message, args);
|
Console.Write(message, args);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,17 +57,14 @@ namespace ICD.Common.Utils
|
|||||||
#if SIMPLSHARP
|
#if SIMPLSHARP
|
||||||
CrestronConsole.PrintLine(message);
|
CrestronConsole.PrintLine(message);
|
||||||
#else
|
#else
|
||||||
System.Console.WriteLine(message);
|
Console.WriteLine(message);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void PrintLine(string message, params object[] args)
|
public static void PrintLine(string message, params object[] args)
|
||||||
{
|
{
|
||||||
#if SIMPLSHARP
|
message = string.Format(message, args);
|
||||||
CrestronConsole.PrintLine(message, args);
|
PrintLine(message);
|
||||||
#else
|
|
||||||
System.Console.WriteLine(message, args);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Print(string message)
|
public static void Print(string message)
|
||||||
@@ -75,17 +72,14 @@ namespace ICD.Common.Utils
|
|||||||
#if SIMPLSHARP
|
#if SIMPLSHARP
|
||||||
CrestronConsole.Print(message);
|
CrestronConsole.Print(message);
|
||||||
#else
|
#else
|
||||||
System.Console.Write(message);
|
Console.Write(message);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Print(string message, params object[] args)
|
public static void Print(string message, params object[] args)
|
||||||
{
|
{
|
||||||
#if SIMPLSHARP
|
message = string.Format(message, args);
|
||||||
CrestronConsole.Print(message, args);
|
Print(message);
|
||||||
#else
|
|
||||||
System.Console.Write(message, args);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool SendControlSystemCommand(string command, ref string result)
|
public static bool SendControlSystemCommand(string command, ref string result)
|
||||||
|
|||||||
Reference in New Issue
Block a user