diff --git a/.vs/Stone_Red-C-Sharp-Utilities/DesignTimeBuild/.dtbcache.v2 b/.vs/Stone_Red-C-Sharp-Utilities/DesignTimeBuild/.dtbcache.v2 index 65d23b5..9c441c8 100644 Binary files a/.vs/Stone_Red-C-Sharp-Utilities/DesignTimeBuild/.dtbcache.v2 and b/.vs/Stone_Red-C-Sharp-Utilities/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/Stone_Red-C-Sharp-Utilities/v16/.suo b/.vs/Stone_Red-C-Sharp-Utilities/v16/.suo index 77e31d2..28c4b03 100644 Binary files a/.vs/Stone_Red-C-Sharp-Utilities/v16/.suo and b/.vs/Stone_Red-C-Sharp-Utilities/v16/.suo differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/Program.cs b/Stone_Red-C-Sharp-Utilities-Test/Program.cs index 2e5449a..d9378c4 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/Program.cs +++ b/Stone_Red-C-Sharp-Utilities-Test/Program.cs @@ -1,16 +1,83 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using Stone_Red_Utilities.CollectionExtentions; +using Stone_Red_Utilities.BoolExtentions; +using Stone_Red_Utilities.ConsoleExtentions; +using Stone_Red_Utilities.FluentMath; +using Stone_Red_Utilities.Logging; + +using System; +using System.Diagnostics; namespace Stone_Red_C_Sharp_Utilities_Test { internal class Program { + private static readonly Logger logger = new Logger() + { + Config = new LogConfig() + { + FatalConfig = new OutputConfig() + { + Color = ConsoleColor.DarkRed, + LogTarget = LogTarget.Console | LogTarget.DebugConsole | LogTarget.File + }, + ErrorConfig = new OutputConfig() + { + Color = ConsoleColor.Red, + LogTarget = LogTarget.Console | LogTarget.DebugConsole | LogTarget.File + }, + WarnConfig = new OutputConfig() + { + Color = ConsoleColor.Yellow, + LogTarget = LogTarget.Console | LogTarget.DebugConsole | LogTarget.File + }, + InfoConfig = new OutputConfig() + { + Color = ConsoleColor.White, + LogTarget = LogTarget.Console | LogTarget.DebugConsole | LogTarget.File + }, + DebugConfig = new OutputConfig() + { + Color = ConsoleColor.Gray, + LogTarget = LogTarget.Console | LogTarget.DebugConsole + }, + FormatConfig = new FormatConfig() + { + ConsoleFormat = $"{{{LogFormatType.DateTime}:hh:mm:ss}} | {{{LogFormatType.LogSeverity},-5}} | {{{LogFormatType.Message}}}" + } + } + }; + private static void Main() { - string[] arr = { "aa", "bb", "cc" }; - arr.Print(); + Trace.WriteLine("kek1"); + Debug.WriteLine("kek2"); + AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; + + while (true) + { + ConsoleExt.Write("Enter the first number: ", ConsoleColor.Green); + bool success = int.TryParse(Console.ReadLine(), out int num1); + + ConsoleExt.Write("Enter the second number: ", ConsoleColor.Green); + success.OneWayFalse(int.TryParse(Console.ReadLine(), out int num2)); + + logger.LogIf(success, "Valid input!", LogSeverity.Debug); + + if (success) + { + Console.WriteLine($"{num1}/{num2} = {num1.Divide(num2)}"); + } + else + { + logger.Log("Invalid input!", "Calculator", LogSeverity.Warn); + } + } + } + + private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) + { + Exception exception = (Exception)e.ExceptionObject; + + logger.Log(exception + (e.IsTerminating ? "\t Process terminating!" : ""), exception.Source, LogSeverity.Fatal); } } } \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.deps.json b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.deps.json index 1991157..6b655c4 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.deps.json +++ b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.deps.json @@ -8,13 +8,13 @@ ".NETCoreApp,Version=v5.0": { "Stone_Red-C-Sharp-Utilities-Test/1.0.0": { "dependencies": { - "Stone_Red-C-Sharp-Utilities": "1.0.2" + "Stone_Red-C-Sharp-Utilities": "1.0.3" }, "runtime": { "Stone_Red-C-Sharp-Utilities-Test.dll": {} } }, - "Stone_Red-C-Sharp-Utilities/1.0.2": { + "Stone_Red-C-Sharp-Utilities/1.0.3": { "runtime": { "Stone_Red-C-Sharp-Utilities.dll": {} } @@ -27,7 +27,7 @@ "serviceable": false, "sha512": "" }, - "Stone_Red-C-Sharp-Utilities/1.0.2": { + "Stone_Red-C-Sharp-Utilities/1.0.3": { "type": "project", "serviceable": false, "sha512": "" diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll index 54c7c5e..cd6581f 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll and b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.exe b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.exe index 368cc8c..3fda31b 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.exe and b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.exe differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb index e5f84df..35a2f6a 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb and b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json index 560c599..29e3525 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json +++ b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json @@ -3,8 +3,7 @@ "additionalProbingPaths": [ "C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|", "C:\\Users\\David\\.nuget\\packages", - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", - "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet" + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" ] } } \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.dll b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.dll index 79a68b3..fb66727 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.dll and b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.dll differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.pdb b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.pdb index 543c518..8801e92 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.pdb and b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.xml b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.xml index d73db80..c9d38f6 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.xml +++ b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/Stone_Red-C-Sharp-Utilities.xml @@ -71,7 +71,7 @@ Prints all items of an - + @@ -109,59 +109,831 @@ - + - Specifies the severity of the log target. + Represents a rectangle - + - Writes log to console + The length of the - + - Writes log to debug console + The width of the - + - Writes log to file + The diagonal of the - + - Writes log to console debug console and file + The area of the - + - Specifies the severity of the log message. + The perimeter of the - + - Logs that contain the most detailed messages. + Creates a new rectangle instance + + + + + + + DecimalFluent class - + - Logs that track the general flow of the application. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DoubleFluent class - + - Logs that highlight an abnormal activity in the flow of execution. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that highlight when the flow of execution is stopped due to a failure. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + FloatFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Logging configuration. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for the message format. + + + + + Output configuration. + + + + + The onsole color of the log message. + + + + + The target for the log message. + + + + + The log file path. + + + + + Foramt configuration. + + + + + The format for the debug console. + + + + + The format for the console. + + + + + The format for the log file. + + + + + Specifies the info type of the log message format. + + + + + The of the log message. + + + + + The of the log message. + + + + + The line number of the log message. + + + + + The file path of the log message. + + + + + The member name of the log message. + + + + + The source of the log message. + + + + + The message of the log message. @@ -169,29 +941,11 @@ Class used for logging - + - Format that is used when logging to the console + The logging configuration. - - - Format that is used when logging to the debug console - - - - - Format that is used when logging to a file - - - - - Initializes the logger with the default format and a file path - - - - - Log the message to the specified output @@ -203,6 +957,16 @@ + + + Log the message to the specified output + + + + + + + Log the message to the specified output if the condition is met @@ -215,11 +979,72 @@ - + + + Log the message to the specified output if the condition is met + + + + + + + + + Clears the log file + + + Specifies the severity of the log message. + + + + + Logs that contain the most detailed messages. + + + + + Logs that track the general flow of the application. + + + + + Logs that highlight an abnormal activity in the flow of execution. + + + + + Logs that highlight when the flow of execution is stopped due to a failure. + + + + + Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + + + + + Specifies the target of the log message. + + + + + Writes log to console + + + + + Writes log to debug console + + + + + Writes log to file + + Extentions @@ -243,13 +1068,34 @@ Returns or is - + Returns a random item from the specified using the class - + + + + + Reflection class + + + + + Copies all properties of an object to a new one. + + + + + + + + Copies all properties of an object to a different one. + + + + diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/ref/Stone_Red-C-Sharp-Utilities-Test.dll b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/ref/Stone_Red-C-Sharp-Utilities-Test.dll index 32685da..32e34ed 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/ref/Stone_Red-C-Sharp-Utilities-Test.dll and b/Stone_Red-C-Sharp-Utilities-Test/bin/Debug/net5.0/ref/Stone_Red-C-Sharp-Utilities-Test.dll differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.deps.json b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.deps.json index b08b183..1445eb0 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.deps.json +++ b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.deps.json @@ -8,13 +8,13 @@ ".NETCoreApp,Version=v5.0": { "Stone_Red-C-Sharp-Utilities-Test/1.0.0": { "dependencies": { - "Stone_Red-C-Sharp-Utilities": "1.0.2.1" + "Stone_Red-C-Sharp-Utilities": "1.0.3.1" }, "runtime": { "Stone_Red-C-Sharp-Utilities-Test.dll": {} } }, - "Stone_Red-C-Sharp-Utilities/1.0.2.1": { + "Stone_Red-C-Sharp-Utilities/1.0.3.1": { "runtime": { "Stone_Red-C-Sharp-Utilities.dll": {} } @@ -27,7 +27,7 @@ "serviceable": false, "sha512": "" }, - "Stone_Red-C-Sharp-Utilities/1.0.2.1": { + "Stone_Red-C-Sharp-Utilities/1.0.3.1": { "type": "project", "serviceable": false, "sha512": "" diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll index 156883d..dfff7b3 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll and b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.exe b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.exe index f84a1fc..3fda31b 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.exe and b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.exe differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb index 7e59adf..4904bee 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb and b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json index 560c599..29e3525 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json +++ b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json @@ -3,8 +3,7 @@ "additionalProbingPaths": [ "C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|", "C:\\Users\\David\\.nuget\\packages", - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", - "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet" + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" ] } } \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.dll b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.dll index 5a51340..486c934 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.dll and b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.dll differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.pdb b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.pdb index ffba046..c5fbffd 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.pdb and b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.xml b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.xml index 4dd1b3f..c9d38f6 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.xml +++ b/Stone_Red-C-Sharp-Utilities-Test/bin/Release/net5.0/Stone_Red-C-Sharp-Utilities.xml @@ -109,59 +109,831 @@ - + - Specifies the severity of the log target. + Represents a rectangle - + - Writes log to console + The length of the - + - Writes log to debug console + The width of the - + - Writes log to file + The diagonal of the - + - Writes log to console debug console and file + The area of the - + - Specifies the severity of the log message. + The perimeter of the - + - Logs that contain the most detailed messages. + Creates a new rectangle instance + + + + + + + DecimalFluent class - + - Logs that track the general flow of the application. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DoubleFluent class - + - Logs that highlight an abnormal activity in the flow of execution. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that highlight when the flow of execution is stopped due to a failure. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + FloatFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Logging configuration. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for the message format. + + + + + Output configuration. + + + + + The onsole color of the log message. + + + + + The target for the log message. + + + + + The log file path. + + + + + Foramt configuration. + + + + + The format for the debug console. + + + + + The format for the console. + + + + + The format for the log file. + + + + + Specifies the info type of the log message format. + + + + + The of the log message. + + + + + The of the log message. + + + + + The line number of the log message. + + + + + The file path of the log message. + + + + + The member name of the log message. + + + + + The source of the log message. + + + + + The message of the log message. @@ -169,29 +941,11 @@ Class used for logging - + - Format that is used when logging to the console + The logging configuration. - - - Format that is used when logging to the debug console - - - - - Format that is used when logging to a file - - - - - Initializes the logger with the default format and a file path - - - - - Log the message to the specified output @@ -203,6 +957,16 @@ + + + Log the message to the specified output + + + + + + + Log the message to the specified output if the condition is met @@ -215,11 +979,72 @@ - + + + Log the message to the specified output if the condition is met + + + + + + + + + Clears the log file + + + Specifies the severity of the log message. + + + + + Logs that contain the most detailed messages. + + + + + Logs that track the general flow of the application. + + + + + Logs that highlight an abnormal activity in the flow of execution. + + + + + Logs that highlight when the flow of execution is stopped due to a failure. + + + + + Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + + + + + Specifies the target of the log message. + + + + + Writes log to console + + + + + Writes log to debug console + + + + + Writes log to file + + Extentions @@ -243,13 +1068,34 @@ Returns or is - + Returns a random item from the specified using the class - + + + + + Reflection class + + + + + Copies all properties of an object to a new one. + + + + + + + + Copies all properties of an object to a different one. + + + + diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.AssemblyInfo.cs b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.AssemblyInfo.cs index 21d3f31..d444367 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.AssemblyInfo.cs +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.AssemblyInfo.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -19,5 +19,5 @@ using System.Reflection; [assembly: System.Reflection.AssemblyTitleAttribute("Stone_Red-C-Sharp-Utilities-Test")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -// Von der MSBuild WriteCodeFragment-Klasse generiert. +// Generated by the MSBuild WriteCodeFragment class. diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig index d7e2983..ebe22ac 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig @@ -6,3 +6,5 @@ build_property.ProjectTypeGuids = build_property.PublishSingleFile = build_property.IncludeAllContentForSelfExtract = build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows +build_property.RootNamespace = Stone_Red_C_Sharp_Utilities_Test +build_property.ProjectDir = C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.assets.cache b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.assets.cache index 5ddb04c..d7a6248 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.assets.cache and b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.assets.cache differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache index bc3308f..4907f0c 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -3e6e32b5a238cce47f7aeb7589b17b45b34cb0fa +0695ef4057aeda21f3ce87a2a7afa2d7965dbde9 diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.FileListAbsolute.txt b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.FileListAbsolute.txt index 869fe97..4dbe9a5 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.FileListAbsolute.txt +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.FileListAbsolute.txt @@ -18,3 +18,23 @@ C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red- C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\ref\Stone_Red-C-Sharp-Utilities-Test.dll C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.pdb C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.exe +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.deps.json +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.json +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\ref\Stone_Red-C-Sharp-Utilities-Test.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Debug\net5.0\Stone_Red-C-Sharp-Utilities.xml +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.csproj.AssemblyReference.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.AssemblyInfoInputs.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.AssemblyInfo.cs +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.csproj.CopyComplete +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\ref\Stone_Red-C-Sharp-Utilities-Test.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll index 54c7c5e..cd6581f 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll and b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache index c9f1b50..8ccab3f 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache @@ -1 +1 @@ -d8c70e80eb8e020766aa7f8073262ae63ee0a93c +6290a4409a767b69d47331bf0fe2819329d850a7 diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb index e5f84df..35a2f6a 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb and b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/apphost.exe b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/apphost.exe index 368cc8c..3fda31b 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/apphost.exe and b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/apphost.exe differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/ref/Stone_Red-C-Sharp-Utilities-Test.dll b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/ref/Stone_Red-C-Sharp-Utilities-Test.dll index 32685da..32e34ed 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/ref/Stone_Red-C-Sharp-Utilities-Test.dll and b/Stone_Red-C-Sharp-Utilities-Test/obj/Debug/net5.0/ref/Stone_Red-C-Sharp-Utilities-Test.dll differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig index d7e2983..ebe22ac 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig @@ -6,3 +6,5 @@ build_property.ProjectTypeGuids = build_property.PublishSingleFile = build_property.IncludeAllContentForSelfExtract = build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows +build_property.RootNamespace = Stone_Red_C_Sharp_Utilities_Test +build_property.ProjectDir = C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.assets.cache b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.assets.cache index 1d107cb..edc1958 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.assets.cache and b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.assets.cache differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache index ddf0d35..32f8f69 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -bd88301ce8fb7aadd4b4649bbdcf209c9abd7ef1 +5375b33f90ea389df924475d2d3675a20dffae64 diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.FileListAbsolute.txt b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.FileListAbsolute.txt index 12e44d0..7426191 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.FileListAbsolute.txt +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.csproj.FileListAbsolute.txt @@ -18,3 +18,23 @@ C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red- C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\ref\Stone_Red-C-Sharp-Utilities-Test.dll C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.pdb C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.exe +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.deps.json +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.json +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.runtimeconfig.dev.json +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\ref\Stone_Red-C-Sharp-Utilities-Test.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\bin\Release\net5.0\Stone_Red-C-Sharp-Utilities.xml +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.csproj.AssemblyReference.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.AssemblyInfoInputs.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.AssemblyInfo.cs +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.csproj.CoreCompileInputs.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.csproj.CopyComplete +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\ref\Stone_Red-C-Sharp-Utilities-Test.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll index 156883d..dfff7b3 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll and b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.dll differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache index c9f1b50..8ccab3f 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.genruntimeconfig.cache @@ -1 +1 @@ -d8c70e80eb8e020766aa7f8073262ae63ee0a93c +6290a4409a767b69d47331bf0fe2819329d850a7 diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb index 7e59adf..4904bee 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb and b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/Stone_Red-C-Sharp-Utilities-Test.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/apphost.exe b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/apphost.exe index f84a1fc..3fda31b 100644 Binary files a/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/apphost.exe and b/Stone_Red-C-Sharp-Utilities-Test/obj/Release/net5.0/apphost.exe differ diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Stone_Red-C-Sharp-Utilities-Test.csproj.nuget.dgspec.json b/Stone_Red-C-Sharp-Utilities-Test/obj/Stone_Red-C-Sharp-Utilities-Test.csproj.nuget.dgspec.json index 2673a36..4be8540 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Stone_Red-C-Sharp-Utilities-Test.csproj.nuget.dgspec.json +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Stone_Red-C-Sharp-Utilities-Test.csproj.nuget.dgspec.json @@ -1,41 +1,40 @@ { "format": 1, "restore": { - "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj": {} + "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj": {} }, "projects": { - "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj": { + "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj": { "version": "1.0.0", "restore": { - "projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", + "projectUniqueName": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", "projectName": "Stone_Red-C-Sharp-Utilities-Test", - "projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", + "projectPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", "packagesPath": "C:\\Users\\David\\.nuget\\packages\\", - "outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\obj\\", + "outputPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", - "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" ], "configFilePaths": [ "C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" ], "originalTargetFrameworks": [ "net5.0" ], "sources": { "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {}, "https://api.nuget.org/v3/index.json": {} }, "frameworks": { "net5.0": { "targetAlias": "net5.0", "projectReferences": { - "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": { - "projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj" + "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": { + "projectPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj" } } } @@ -64,34 +63,33 @@ "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.401\\RuntimeIdentifierGraph.json" } } }, - "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": { - "version": "1.0.2.1", + "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": { + "version": "1.0.3.1", "restore": { - "projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", + "projectUniqueName": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", "projectName": "Stone_Red-C-Sharp-Utilities", - "projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", + "projectPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", "packagesPath": "C:\\Users\\David\\.nuget\\packages\\", - "outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\obj\\", + "outputPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", - "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" ], "configFilePaths": [ "C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" ], "originalTargetFrameworks": [ "netstandard2.1" ], "sources": { "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {}, "https://api.nuget.org/v3/index.json": {} }, "frameworks": { @@ -109,6 +107,14 @@ "frameworks": { "netstandard2.1": { "targetAlias": "netstandard2.1", + "dependencies": { + "Vsxmd": { + "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", + "suppressParent": "All", + "target": "Package", + "version": "[1.4.5, )" + } + }, "imports": [ "net461", "net462", @@ -124,7 +130,7 @@ "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.401\\RuntimeIdentifierGraph.json" } } } diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/Stone_Red-C-Sharp-Utilities-Test.csproj.nuget.g.props b/Stone_Red-C-Sharp-Utilities-Test/obj/Stone_Red-C-Sharp-Utilities-Test.csproj.nuget.g.props index 84dcedc..44f9f09 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/Stone_Red-C-Sharp-Utilities-Test.csproj.nuget.g.props +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/Stone_Red-C-Sharp-Utilities-Test.csproj.nuget.g.props @@ -5,14 +5,13 @@ NuGet $(MSBuildThisFileDirectory)project.assets.json $(UserProfile)\.nuget\packages\ - C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\ + C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages PackageReference - 5.9.1 + 5.11.0 - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/project.assets.json b/Stone_Red-C-Sharp-Utilities-Test/obj/project.assets.json index 149012d..33993ab 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/project.assets.json +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/project.assets.json @@ -2,7 +2,7 @@ "version": 3, "targets": { "net5.0": { - "Stone_Red-C-Sharp-Utilities/1.0.2.1": { + "Stone_Red-C-Sharp-Utilities/1.0.3.1": { "type": "project", "framework": ".NETStandard,Version=v2.1", "compile": { @@ -15,7 +15,7 @@ } }, "libraries": { - "Stone_Red-C-Sharp-Utilities/1.0.2.1": { + "Stone_Red-C-Sharp-Utilities/1.0.3.1": { "type": "project", "path": "../Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.csproj", "msbuildProject": "../Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.csproj" @@ -23,46 +23,44 @@ }, "projectFileDependencyGroups": { "net5.0": [ - "Stone_Red-C-Sharp-Utilities >= 1.0.2.1" + "Stone_Red-C-Sharp-Utilities >= 1.0.3.1" ] }, "packageFolders": { "C:\\Users\\David\\.nuget\\packages\\": {}, - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}, - "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {} + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} }, "project": { "version": "1.0.0", "restore": { - "projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", + "projectUniqueName": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", "projectName": "Stone_Red-C-Sharp-Utilities-Test", - "projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", + "projectPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", "packagesPath": "C:\\Users\\David\\.nuget\\packages\\", - "outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\obj\\", + "outputPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", - "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" ], "configFilePaths": [ "C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" ], "originalTargetFrameworks": [ "net5.0" ], "sources": { "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {}, "https://api.nuget.org/v3/index.json": {} }, "frameworks": { "net5.0": { "targetAlias": "net5.0", "projectReferences": { - "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": { - "projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj" + "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": { + "projectPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj" } } } @@ -91,7 +89,7 @@ "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.401\\RuntimeIdentifierGraph.json" } } } diff --git a/Stone_Red-C-Sharp-Utilities-Test/obj/project.nuget.cache b/Stone_Red-C-Sharp-Utilities-Test/obj/project.nuget.cache index 19804d3..794db4d 100644 --- a/Stone_Red-C-Sharp-Utilities-Test/obj/project.nuget.cache +++ b/Stone_Red-C-Sharp-Utilities-Test/obj/project.nuget.cache @@ -1,8 +1,8 @@ { "version": 2, - "dgSpecHash": "NeCYdZewH6fNanQP+zkM3RezZexyXY/n2C/0p/0pM8z68CQJ1pDcJ+IXp5xEPCodvU0P8joEhCwg5L/MxmPUCg==", + "dgSpecHash": "i9sxl0DK4prGdivFoHN0urjiTdeJN7pdMVng46dayLfJokZ9N5lHYpWasE93pEfNg8KMgQDtDsbVnvjJQeZa6g==", "success": true, - "projectFilePath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", + "projectFilePath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities-Test\\Stone_Red-C-Sharp-Utilities-Test.csproj", "expectedPackageFiles": [], "logs": [] } \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/BoolExtentions.cs b/Stone_Red-C-Sharp-Utilities/BoolExtentions.cs index 9d35fc2..311f6c8 100644 --- a/Stone_Red-C-Sharp-Utilities/BoolExtentions.cs +++ b/Stone_Red-C-Sharp-Utilities/BoolExtentions.cs @@ -13,7 +13,9 @@ public static void OneWayTrue(this ref bool bol, bool input) { if (bol == false && input) + { bol = true; + } } /// @@ -24,7 +26,9 @@ public static void OneWayFalse(this ref bool bol, bool input) { if (bol == true && !input) + { bol = false; + } } /// diff --git a/Stone_Red-C-Sharp-Utilities/CollectionExtentions.cs b/Stone_Red-C-Sharp-Utilities/CollectionExtentions.cs index f74e4e5..b803bca 100644 --- a/Stone_Red-C-Sharp-Utilities/CollectionExtentions.cs +++ b/Stone_Red-C-Sharp-Utilities/CollectionExtentions.cs @@ -47,7 +47,7 @@ namespace Stone_Red_Utilities.CollectionExtentions int i = 0; int length = collection.Count() - 1; string split = delimiter + (delimiter == '\n' ? string.Empty : " "); - foreach (var item in collection) + foreach (T item in collection) { if (item is IEnumerable ie) { @@ -109,9 +109,14 @@ namespace Stone_Red_Utilities.CollectionExtentions if (tableStyle == TableStyle.Minimum || tableStyle == TableStyle.List) { if (tableStyle == TableStyle.List && forcePrint) + { Console.Write(intersect); + } + if (!forcePrint) + { return; + } } else { diff --git a/Stone_Red-C-Sharp-Utilities/FluentMath/Shapes/Rectangle.cs b/Stone_Red-C-Sharp-Utilities/FluentMath/Shapes/Rectangle.cs new file mode 100644 index 0000000..b5cbbc0 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/FluentMath/Shapes/Rectangle.cs @@ -0,0 +1,46 @@ +using System; + +namespace Stone_Red_Utilities.FluentMath.Shapes +{ + /// + /// Represents a rectangle + /// + public class Rectangle + { + /// + /// The length of the + /// + public double Length { get; set; } + + /// + /// The width of the + /// + public double Width { get; set; } + + /// + /// The diagonal of the + /// + public double Diagonal => System.Math.Sqrt(Math.Pow(Length, 2) + Math.Pow(Width, 2)); + + /// + /// The area of the + /// + public double Area => Length * Width; + + /// + /// The perimeter of the + /// + public double Perimeter => Length * 2 + Width * 2; + + /// + /// Creates a new rectangle instance + /// + /// + /// + public Rectangle(double length, double width) + { + Length = length; + Width = width; + } + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/DecimalFluent.cs b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/DecimalFluent.cs new file mode 100644 index 0000000..3bb10a0 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/DecimalFluent.cs @@ -0,0 +1,164 @@ +using System; + +namespace Stone_Red_Utilities.FluentMath +{ + /// + /// DecimalFluent class + /// + public static class DecimalFluent + { + /// + /// Converts number to + /// + /// + /// Number as + public static double ToDouble(this decimal num) + { + return (double)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static float ToSingle(this decimal num) + { + return (float)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static short ToInt16(this decimal num) + { + return (short)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static int ToInt32(this decimal num) + { + return (int)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static long ToInt64(this decimal num) + { + return (long)num; + } + + /// + /// Adds the two nums + /// + /// + /// + /// + public static decimal Add(this decimal num, decimal value) + { + return num + value; + } + + /// + /// Subtracts the two nums + /// + /// + /// + /// + public static decimal Subtract(this decimal num, decimal value) + { + return num - value; + } + + /// + /// Multiplys the two nums + /// + /// + /// + /// + public static decimal Multiply(this decimal num, decimal value) + { + return num * value; + } + + /// + /// Divides the two nums + /// + /// + /// + /// + public static decimal Divide(this decimal num, decimal value) + { + return num / value; + } + + /// + public static decimal Abs(this decimal num) + { + return Math.Abs(num); + } + + /// + public static decimal Ceiling(this decimal num) + { + return Math.Ceiling(num); + } + + /// + public static decimal Clamp(this decimal num, decimal min, decimal max) + { + return Math.Clamp(num, min, max); + } + + /// + public static decimal Floor(this decimal num) + { + return Math.Floor(num); + } + + /// + public static decimal Round(this decimal num) + { + return Math.Round(num); + } + + /// + public static decimal Round(this decimal num, MidpointRounding mode) + { + return Math.Round(num, mode); + } + + /// + public static decimal Round(this decimal num, int digits) + { + return Math.Round(num, digits); + } + + /// + public static decimal Round(this decimal num, int digits, MidpointRounding mode) + { + return Math.Round(num, digits, mode); + } + + /// + public static int Sign(this decimal num) + { + return Math.Sign(num); + } + + /// + public static decimal Truncate(this decimal num) + { + return Math.Truncate(num); + } + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/DoubleFluent.cs b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/DoubleFluent.cs new file mode 100644 index 0000000..1df01cc --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/DoubleFluent.cs @@ -0,0 +1,290 @@ +using System; + +namespace Stone_Red_Utilities.FluentMath +{ + /// + /// DoubleFluent class + /// + public static class DoubleFluent + { + /// + /// Converts number to + /// + /// + /// Number as + public static decimal ToDecimal(this double num) + { + return (decimal)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static float ToSingle(this double num) + { + return (float)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static short ToInt16(this double num) + { + return (short)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static int ToInt32(this double num) + { + return (int)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static long ToInt64(this double num) + { + return (long)num; + } + + /// + /// Adds the two nums + /// + /// + /// + /// + public static double Add(this double num, double value) + { + return num + value; + } + + /// + /// Subtracts the two nums + /// + /// + /// + /// + public static double Subtract(this double num, double value) + { + return num - value; + } + + /// + /// Multiplys the two nums + /// + /// + /// + /// + public static double Multiply(this double num, double value) + { + return num * value; + } + + /// + /// Divides the two nums + /// + /// + /// + /// + public static double Divide(this double num, double value) + { + return num / value; + } + + /// + public static double Abs(this double num) + { + return Math.Abs(num); + } + + /// + public static double Acos(this double num) + { + return Math.Acos(num); + } + + /// + public static double Acosh(this double num) + { + return Math.Acosh(num); + } + + /// + public static double Asin(this double num) + { + return Math.Asin(num); + } + + /// + public static double Asinh(this double num) + { + return Math.Asinh(num); + } + + /// + public static double Atan(this double num) + { + return Math.Atan(num); + } + + /// + public static double Atan2(this double num, double valuee) + { + return Math.Atan2(num, valuee); + } + + /// + public static double Atanh(this double num) + { + return Math.Atanh(num); + } + + /// + public static double Cbrt(this double num) + { + return Math.Cbrt(num); + } + + /// + public static double Ceiling(this double num) + { + return Math.Ceiling(num); + } + + /// + public static double Clamp(this double num, double min, double max) + { + return Math.Clamp(num, min, max); + } + + /// + public static double Cos(this double num) + { + return Math.Cos(num); + } + + /// + public static double Cosh(this double num) + { + return Math.Cosh(num); + } + + /// + public static double Exp(this double num) + { + return Math.Exp(num); + } + + /// + public static double Floor(this double num) + { + return Math.Floor(num); + } + + /// + public static double IEEERemainder(this double num, double valuee) + { + return Math.IEEERemainder(num, valuee); + } + + /// + public static double Log(this double num) + { + return Math.Log(num); + } + + /// + public static double Log(this double num, double newBase) + { + return Math.Log(num, newBase); + } + + /// + public static double Log10(this double num) + { + return Math.Log10(num); + } + + /// + public static double Pow(this double num, double power) + { + return Math.Pow(num, power); + } + + /// + public static double Round(this double num) + { + return Math.Round(num); + } + + /// + public static double Round(this double num, MidpointRounding mode) + { + return Math.Round(num, mode); + } + + /// + public static double Round(this double num, int digits) + { + return Math.Round(num, digits); + } + + /// + public static double Round(this double num, int digits, MidpointRounding mode) + { + return Math.Round(num, digits, mode); + } + + /// + public static int Sign(this double num) + { + return Math.Sign(num); + } + + /// + public static double Sin(this double num) + { + return Math.Sin(num); + } + + /// + public static double Sinh(this double num) + { + return Math.Sinh(num); + } + + /// + public static double Sqrt(this double num) + { + return Math.Sqrt(num); + } + + /// + public static double Tan(this double num) + { + return Math.Tan(num); + } + + /// + public static double Tanh(this double num) + { + return Math.Tanh(num); + } + + /// + public static double Truncate(this double num) + { + return Math.Truncate(num); + } + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/Int16Fluent.cs b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/Int16Fluent.cs new file mode 100644 index 0000000..b049c3a --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/Int16Fluent.cs @@ -0,0 +1,122 @@ +using System; + +namespace Stone_Red_Utilities.FluentMath +{ + /// + /// IntegerFluent class + /// + public static class Int16Fluent + { + /// + /// Converts number to + /// + /// + /// Number as + public static decimal ToDecimal(this short num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static float ToSingle(this short num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static double ToDouble(this short num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static int ToInt32(this short num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static long ToInt64(this short num) + { + return num; + } + + /// + /// Adds the two nums + /// + /// + /// + /// + public static int Add(this short num, short value) + { + return num + value; + } + + /// + /// Subtracts the two nums + /// + /// + /// + /// + public static int Subtract(this short num, short value) + { + return num - value; + } + + /// + /// Multiplys the two nums + /// + /// + /// + /// + public static int Multiply(this short num, short value) + { + return num * value; + } + + /// + /// Divides the two nums + /// + /// + /// + /// + public static int Divide(this short num, short value) + { + return num / value; + } + + /// + public static short Abs(this short num) + { + return Math.Abs(num); + } + + /// + public static short Clamp(this short num, short min, short max) + { + return Math.Clamp(num, min, max); + } + + /// + public static int Sign(this short num) + { + return Math.Sign(num); + } + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/Int32Fluent.cs b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/Int32Fluent.cs new file mode 100644 index 0000000..5c5c2c0 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/Int32Fluent.cs @@ -0,0 +1,122 @@ +using System; + +namespace Stone_Red_Utilities.FluentMath +{ + /// + /// IntegerFluent class + /// + public static class Int32Fluent + { + /// + /// Converts number to + /// + /// + /// Number as + public static decimal ToDecimal(this int num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static float ToSingle(this int num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static double ToDouble(this int num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static short ToInt16(this int num) + { + return (short)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static long ToInt64(this int num) + { + return num; + } + + /// + /// Adds the two nums + /// + /// + /// + /// + public static int Add(this int num, int value) + { + return num + value; + } + + /// + /// Subtracts the two nums + /// + /// + /// + /// + public static int Subtract(this int num, int value) + { + return num - value; + } + + /// + /// Multiplys the two nums + /// + /// + /// + /// + public static int Multiply(this int num, int value) + { + return num * value; + } + + /// + /// Divides the two nums + /// + /// + /// + /// + public static int Divide(this int num, int value) + { + return num / value; + } + + /// + public static int Abs(this int num) + { + return Math.Abs(num); + } + + /// + public static int Clamp(this int num, int min, int max) + { + return Math.Clamp(num, min, max); + } + + /// + public static int Sign(this int num) + { + return Math.Sign(num); + } + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/Int64Fluent.cs b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/Int64Fluent.cs new file mode 100644 index 0000000..49f4878 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/Int64Fluent.cs @@ -0,0 +1,122 @@ +using System; + +namespace Stone_Red_Utilities.FluentMath +{ + /// + /// IntegerFluent class + /// + public static class Int64Fluent + { + /// + /// Converts number to + /// + /// + /// Number as + public static decimal ToDecimal(this long num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static float ToSingle(this long num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static double ToDouble(this long num) + { + return num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static short ToInt16(this long num) + { + return (short)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static int ToInt32(this long num) + { + return (int)num; + } + + /// + /// Adds the two nums + /// + /// + /// + /// + public static long Add(this long num, long value) + { + return num + value; + } + + /// + /// Subtracts the two nums + /// + /// + /// + /// + public static long Subtract(this long num, long value) + { + return num - value; + } + + /// + /// Multiplys the two nums + /// + /// + /// + /// + public static long Multiply(this long num, long value) + { + return num * value; + } + + /// + /// Divides the two nums + /// + /// + /// + /// + public static long Divide(this long num, long value) + { + return num / value; + } + + /// + public static long Abs(this long num) + { + return Math.Abs(num); + } + + /// + public static long Clamp(this long num, long min, long max) + { + return Math.Clamp(num, min, max); + } + + /// + public static long Sign(this long num) + { + return Math.Sign(num); + } + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/SingleFluent.cs b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/SingleFluent.cs new file mode 100644 index 0000000..f4f0f1b --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/FluentMath/TypeExtentions/SingleFluent.cs @@ -0,0 +1,290 @@ +using System; + +namespace Stone_Red_Utilities.FluentMath +{ + /// + /// FloatFluent class + /// + public static class SingleFluent + { + /// + /// Converts number to + /// + /// + /// Number as + public static decimal ToDecimal(this float num) + { + return (decimal)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static double ToDouble(this float num) + { + return (float)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static short ToInt16(this float num) + { + return (short)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static int ToInt32(this float num) + { + return (int)num; + } + + /// + /// Converts number to + /// + /// + /// Number as + public static long ToInt64(this float num) + { + return (long)num; + } + + /// + /// Adds the two nums + /// + /// + /// + /// + public static float Add(this float num, float value) + { + return num + value; + } + + /// + /// Subtracts the two nums + /// + /// + /// + /// + public static float Subtract(this float num, float value) + { + return num - value; + } + + /// + /// Multiplys the two nums + /// + /// + /// + /// + public static float Multiply(this float num, float value) + { + return num * value; + } + + /// + /// Divides the two nums + /// + /// + /// + /// + public static float Divide(this float num, float value) + { + return num / value; + } + + /// + public static float Abs(this float num) + { + return MathF.Abs(num); + } + + /// + public static float Acos(this float num) + { + return MathF.Acos(num); + } + + /// + public static float Acosh(this float num) + { + return MathF.Acosh(num); + } + + /// + public static float Asin(this float num) + { + return MathF.Asin(num); + } + + /// + public static float Asinh(this float num) + { + return MathF.Asinh(num); + } + + /// + public static float Atan(this float num) + { + return MathF.Atan(num); + } + + /// + public static float Atan2(this float num, float value) + { + return MathF.Atan2(num, value); + } + + /// + public static float Atanh(this float num) + { + return MathF.Atanh(num); + } + + /// + public static float Cbrt(this float num) + { + return MathF.Cbrt(num); + } + + /// + public static float Ceiling(this float num) + { + return MathF.Ceiling(num); + } + + /// + public static float Clamp(this float num, float min, float max) + { + return Math.Clamp(num, min, max); + } + + /// + public static float Cos(this float num) + { + return MathF.Cos(num); + } + + /// + public static float Cosh(this float num) + { + return MathF.Cosh(num); + } + + /// + public static float Exp(this float num) + { + return MathF.Exp(num); + } + + /// + public static float Floor(this float num) + { + return MathF.Floor(num); + } + + /// + public static float IEEERemainder(this float num, float value) + { + return MathF.IEEERemainder(num, value); + } + + /// + public static float Log(this float num) + { + return MathF.Log(num); + } + + /// + public static float Log(this float num, float newBase) + { + return MathF.Log(num, newBase); + } + + /// + public static float Log10(this float num) + { + return MathF.Log10(num); + } + + /// + public static float Pow(this float num, float power) + { + return MathF.Pow(num, power); + } + + /// + public static float Round(this float num) + { + return MathF.Round(num); + } + + /// + public static float Round(this float num, MidpointRounding mode) + { + return MathF.Round(num, mode); + } + + /// + public static float Round(this float num, int digits) + { + return MathF.Round(num, digits); + } + + /// + public static float Round(this float num, int digits, MidpointRounding mode) + { + return MathF.Round(num, digits, mode); + } + + /// + public static int Sign(this float num) + { + return MathF.Sign(num); + } + + /// + public static float Sin(this float num) + { + return MathF.Sin(num); + } + + /// + public static float Sinh(this float num) + { + return MathF.Sinh(num); + } + + /// + public static float Sqrt(this float num) + { + return MathF.Sqrt(num); + } + + /// + public static float Tan(this float num) + { + return MathF.Tan(num); + } + + /// + public static float Tanh(this float num) + { + return MathF.Tanh(num); + } + + /// + public static float Truncate(this float num) + { + return MathF.Truncate(num); + } + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/Logging.cs b/Stone_Red-C-Sharp-Utilities/Logging.cs deleted file mode 100644 index 6058901..0000000 --- a/Stone_Red-C-Sharp-Utilities/Logging.cs +++ /dev/null @@ -1,198 +0,0 @@ -using System; -using System.Diagnostics; -using System.IO; -using System.Runtime.CompilerServices; -using Stone_Red_Utilities.ConsoleExtentions; - -namespace Stone_Red_Utilities.Logging -{ - /// - /// Specifies the severity of the log target. - /// - public enum LogTarget - { - /// - /// Writes log to console - /// - Console, - - /// - /// Writes log to debug console - /// - DebugConsole, - - /// - /// Writes log to file - /// - File, - - /// - /// Writes log to console debug console and file - /// - All - } - - /// - /// Specifies the severity of the log message. - /// - public enum LogSeverity - { - /// - /// Logs that contain the most detailed messages. - /// - Debug, - - /// - /// Logs that track the general flow of the application. - /// - Info, - - /// - /// Logs that highlight an abnormal activity in the flow of execution. - /// - Warning, - - /// - /// Logs that highlight when the flow of execution is stopped due to a failure. - /// - Error, - - /// - /// Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. - /// - Fatal - } - - /// - /// Class used for logging - /// - public class Logger - { - private readonly string logPath; - private readonly LogTarget logTarget; - - /// - /// Format that is used when logging to the console - /// - public string ConsoleLogFormat { get; set; } - - /// - /// Format that is used when logging to the debug console - /// - public string DebugConsoleLogFormat { get; set; } - - /// - /// Format that is used when logging to a file - /// - public string FileLogFormat { get; set; } - - /// - /// Initializes the logger with the default format and a file path - /// - /// - /// - /// - public Logger(LogTarget logTarg = LogTarget.Console, string file = null, string defaultFormat = "{:HH:mm:ss} | {,-7} | {,-15} | {}") - { - if ((logTarg & LogTarget.File) == LogTarget.File || (logTarg & LogTarget.All) == LogTarget.All) - logPath = file ?? throw new ArgumentNullException(nameof(file), $"file can't be null!"); - - logTarget = logTarg; - ConsoleLogFormat = defaultFormat; - DebugConsoleLogFormat = defaultFormat; - FileLogFormat = defaultFormat; - } - - /// - /// Log the message to the specified output - /// - /// - /// - /// - /// - /// - /// - public void Log(string message, string source, LogSeverity logSeverity = LogSeverity.Info, [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) - { - WriteLog(message, source, logSeverity, memberName, sourceFilePath, sourceLineNumber); - } - - /// - /// Log the message to the specified output if the condition is met - /// - /// - /// - /// - /// - /// - /// - /// - public void LogIf(bool condition, string message, string source, LogSeverity logSeverity = LogSeverity.Info, [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) - { - if (condition) - WriteLog(message, source, logSeverity, memberName, sourceFilePath, sourceLineNumber); - } - - /// - /// Clears the log file - /// - public void ClearLogFile() - { - if (File.Exists(logPath)) - File.WriteAllText(logPath, string.Empty); - } - - private void WriteLog(string message, string source, LogSeverity logSeverity, string memberName = "", string sourceFilePath = "", int sourceLineNumber = 0) - { - string consoleOutput = GetFormattedString(ConsoleLogFormat, logSeverity, source, message, memberName, sourceFilePath, sourceLineNumber); - string debugOutput = GetFormattedString(DebugConsoleLogFormat, logSeverity, source, message, memberName, sourceFilePath, sourceLineNumber); - string fileOutput = GetFormattedString(FileLogFormat, logSeverity, source, message, memberName, sourceFilePath, sourceLineNumber); - - if ((logTarget & LogTarget.Console) == LogTarget.Console) - { - ConsoleExt.WriteLine(consoleOutput, GetColor(logSeverity)); - } - - if ((logTarget & LogTarget.DebugConsole) == LogTarget.DebugConsole) - { - Debug.WriteLine(debugOutput); - } - - if ((logTarget & LogTarget.File) == LogTarget.File) - File.AppendAllLines(logPath, new[] { fileOutput }); - - if ((logTarget & LogTarget.All) == LogTarget.All) - { - Debug.WriteLine(debugOutput); - ConsoleExt.WriteLine(consoleOutput, GetColor(logSeverity)); - File.AppendAllLines(logPath, new[] { fileOutput }); - } - } - - private ConsoleColor GetColor(LogSeverity logSeverity) - { - return logSeverity switch - { - LogSeverity.Fatal => ConsoleColor.DarkRed, - LogSeverity.Error => ConsoleColor.Red, - LogSeverity.Warning => ConsoleColor.DarkYellow, - LogSeverity.Info => ConsoleColor.White, - _ => ConsoleColor.DarkGray, - }; - } - - private string GetFormattedString(string format, LogSeverity logSeverity, string source, string message, string memberName, string sourceFilePath, int sourceLineNumber) - { - format = format - .Replace("", "0") - .Replace("", "1") - .Replace("", "2") - .Replace("", "3") - .Replace("", "4") - .Replace("", "5") - .Replace("", "6"); - - return string.Format(format, DateTime.Now, logSeverity, sourceLineNumber, sourceFilePath, memberName, source, message); - } - } -} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/Logging/LogConfig.cs b/Stone_Red-C-Sharp-Utilities/Logging/LogConfig.cs new file mode 100644 index 0000000..2de7493 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/Logging/LogConfig.cs @@ -0,0 +1,82 @@ +using System; + +namespace Stone_Red_Utilities.Logging +{ + /// + /// Logging configuration. + /// + public class LogConfig + { + /// + /// The configuration for messages. + /// + public OutputConfig DebugConfig { get; set; } = new OutputConfig(); + + /// + /// The configuration for messages. + /// + public OutputConfig InfoConfig { get; set; } = new OutputConfig(); + + /// + /// The configuration for messages. + /// + public OutputConfig WarnConfig { get; set; } = new OutputConfig(); + + /// + /// The configuration for messages. + /// + public OutputConfig ErrorConfig { get; set; } = new OutputConfig(); + + /// + /// The configuration for messages. + /// + public OutputConfig FatalConfig { get; set; } = new OutputConfig(); + + /// + /// The configuration for the message format. + /// + public FormatConfig FormatConfig { get; set; } = new FormatConfig(); + } + + /// + /// Output configuration. + /// + public class OutputConfig + { + /// + /// The onsole color of the log message. + /// + public ConsoleColor Color { get; set; } = ConsoleColor.White; + + /// + /// The target for the log message. + /// + public LogTarget LogTarget { get; set; } = LogTarget.DebugConsole; + + /// + /// The log file path. + /// + public string FilePath { get; set; } = "log.log"; + } + + /// + /// Foramt configuration. + /// + public class FormatConfig + { + /// + /// The format for the debug console. + /// + public string DebugConsoleFormat { get; set; } = $"{{{LogFormatType.DateTime}:yyyy-MM-dd HH:mm:ss}} | {{{LogFormatType.LogSeverity},-5}} | {{{LogFormatType.Source},-15}} | {{{LogFormatType.Message}}}"; + + /// + /// The format for the console. + /// + public string ConsoleFormat { get; set; } = $"{{{LogFormatType.DateTime}:yyyy-MM-dd HH:mm:ss}} | {{{LogFormatType.LogSeverity},-5}} | {{{LogFormatType.Source},-15}} | {{{LogFormatType.Message}}}"; + + /// + /// The format for the log file. + /// + public string FileFormat { get; set; } = $"{{{LogFormatType.DateTime}:yyyy-MM-dd HH:mm:ss}} | {{{LogFormatType.LogSeverity},-5}} | {{{LogFormatType.Source},-15}} | {{{LogFormatType.Message}}}"; + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/Logging/LogFormatType.cs b/Stone_Red-C-Sharp-Utilities/Logging/LogFormatType.cs new file mode 100644 index 0000000..d3947d1 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/Logging/LogFormatType.cs @@ -0,0 +1,43 @@ +namespace Stone_Red_Utilities.Logging +{ + /// + /// Specifies the info type of the log message format. + /// + public class LogFormatType + { + /// + /// The of the log message. + /// + public const string DateTime = ""; + + /// + /// The of the log message. + /// + public const string LogSeverity = ""; + + /// + /// The line number of the log message. + /// + public const string LineNumber = ""; + + /// + /// The file path of the log message. + /// + public const string FilePath = ""; + + /// + /// The member name of the log message. + /// + public const string MemberName = ""; + + /// + /// The source of the log message. + /// + public const string Source = ""; + + /// + /// The message of the log message. + /// + public const string Message = ""; + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/Logging/LogSeverity.cs b/Stone_Red-C-Sharp-Utilities/Logging/LogSeverity.cs new file mode 100644 index 0000000..8070794 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/Logging/LogSeverity.cs @@ -0,0 +1,33 @@ +namespace Stone_Red_Utilities.Logging +{ + /// + /// Specifies the severity of the log message. + /// + public enum LogSeverity + { + /// + /// Logs that contain the most detailed messages. + /// + Debug, + + /// + /// Logs that track the general flow of the application. + /// + Info, + + /// + /// Logs that highlight an abnormal activity in the flow of execution. + /// + Warn, + + /// + /// Logs that highlight when the flow of execution is stopped due to a failure. + /// + Error, + + /// + /// Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + /// + Fatal + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/Logging/LogTarget.cs b/Stone_Red-C-Sharp-Utilities/Logging/LogTarget.cs new file mode 100644 index 0000000..49ae29c --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/Logging/LogTarget.cs @@ -0,0 +1,23 @@ +namespace Stone_Red_Utilities.Logging +{ + /// + /// Specifies the target of the log message. + /// + public enum LogTarget + { + /// + /// Writes log to console + /// + Console = 1, + + /// + /// Writes log to debug console + /// + DebugConsole = 2, + + /// + /// Writes log to file + /// + File = 3 + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/Logging/Logging.cs b/Stone_Red-C-Sharp-Utilities/Logging/Logging.cs new file mode 100644 index 0000000..3bfb2e2 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/Logging/Logging.cs @@ -0,0 +1,151 @@ +using Stone_Red_Utilities.ConsoleExtentions; + +using System; +using System.Diagnostics; +using System.IO; +using System.Runtime.CompilerServices; + +namespace Stone_Red_Utilities.Logging +{ + /// + /// Class used for logging + /// + public class Logger + { + /// + /// The logging configuration. + /// + public LogConfig Config { get; set; } + + /// + /// Log the message to the specified output + /// + /// + /// + /// + /// + /// + /// + public void Log(string message, string source, LogSeverity logSeverity = LogSeverity.Info, [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) + { + WriteLog(message, source, logSeverity, memberName, sourceFilePath, sourceLineNumber); + } + + /// + /// Log the message to the specified output + /// + /// + /// + /// + /// + /// + public void Log(string message, LogSeverity logSeverity = LogSeverity.Info, [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) + { + WriteLog(message, string.Empty, logSeverity, memberName, sourceFilePath, sourceLineNumber); + } + + /// + /// Log the message to the specified output if the condition is met + /// + /// + /// + /// + /// + /// + /// + /// + public void LogIf(bool condition, string message, string source, LogSeverity logSeverity = LogSeverity.Info, [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) + { + if (condition) + { + WriteLog(message, source, logSeverity, memberName, sourceFilePath, sourceLineNumber); + } + } + + /// + /// Log the message to the specified output if the condition is met + /// + /// + /// + /// + /// + /// + /// + public void LogIf(bool condition, string message, LogSeverity logSeverity = LogSeverity.Info, [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0) + { + if (condition) + { + WriteLog(message, string.Empty, logSeverity, memberName, sourceFilePath, sourceLineNumber); + } + } + + /// + /// Clears the log file + /// + public void ClearLogFile(LogSeverity logSeverity) + { + OutputConfig outputConfig = GetOutputConfig(logSeverity); + if (File.Exists(outputConfig.FilePath)) + { + File.WriteAllText(outputConfig.FilePath, string.Empty); + } + } + + private void WriteLog(string message, string source, LogSeverity logSeverity, string memberName = "", string sourceFilePath = "", int sourceLineNumber = 0) + { + Config ??= new LogConfig(); + + string consoleOutput = GetFormattedString(Config.FormatConfig.ConsoleFormat, logSeverity, source, message, memberName, sourceFilePath, sourceLineNumber); + string debugOutput = GetFormattedString(Config.FormatConfig.DebugConsoleFormat, logSeverity, source, message, memberName, sourceFilePath, sourceLineNumber); + string fileOutput = GetFormattedString(Config.FormatConfig.FileFormat, logSeverity, source, message, memberName, sourceFilePath, sourceLineNumber); + + OutputConfig outputConfig = GetOutputConfig(logSeverity); + + if ((outputConfig.LogTarget & LogTarget.Console) == LogTarget.Console) + { + ConsoleExt.WriteLine(consoleOutput, outputConfig.Color); + } + + if ((outputConfig.LogTarget & LogTarget.DebugConsole) == LogTarget.DebugConsole) + { + Trace.WriteLine(debugOutput); + } + + if ((outputConfig.LogTarget & LogTarget.File) == LogTarget.File) + { + if (!File.Exists(outputConfig.FilePath)) + { + File.Create(outputConfig.FilePath).Close(); + } + + File.AppendAllLines(outputConfig.FilePath, new[] { fileOutput }); + } + } + + private OutputConfig GetOutputConfig(LogSeverity logSeverity) + { + return logSeverity switch + { + LogSeverity.Fatal => Config.FatalConfig, + LogSeverity.Error => Config.ErrorConfig, + LogSeverity.Warn => Config.WarnConfig, + LogSeverity.Info => Config.InfoConfig, + _ => Config.DebugConfig + }; + } + + private string GetFormattedString(string format, LogSeverity logSeverity, string source, string message, string memberName, string sourceFilePath, int sourceLineNumber) + { + format = format + .Replace($"{LogFormatType.DateTime}", "0") + .Replace($"{LogFormatType.LogSeverity}", "1") + .Replace($"{LogFormatType.LineNumber}", "2") + .Replace($"{LogFormatType.FilePath}", "3") + .Replace($"{LogFormatType.MemberName}", "4") + .Replace($"{LogFormatType.Source}", "5") + .Replace($"{LogFormatType.Message}", "6"); + + return string.Format(format, DateTime.Now, logSeverity.ToString().ToUpper(), sourceLineNumber, sourceFilePath, memberName, source, message); + } + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/RandomExtentions.cs b/Stone_Red-C-Sharp-Utilities/RandomExtentions.cs index 50d9bc8..472a10a 100644 --- a/Stone_Red-C-Sharp-Utilities/RandomExtentions.cs +++ b/Stone_Red-C-Sharp-Utilities/RandomExtentions.cs @@ -44,9 +44,8 @@ namespace Stone_Red_Utilities.RandomExtentions /// /// /// - /// /// - public static T NextEnum(this Random random, T _) where T : Enum //Not the best solution but it works + public static T NextEnum(this Random random) where T : Enum //Not the best solution but it works { Array arr = Enum.GetValues(typeof(T)); return (T)arr.GetValue(random.Next(arr.Length)); diff --git a/Stone_Red-C-Sharp-Utilities/Reflection.cs b/Stone_Red-C-Sharp-Utilities/Reflection.cs new file mode 100644 index 0000000..b817313 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/Reflection.cs @@ -0,0 +1,60 @@ +using System; +using System.Reflection; + +namespace Stone_Red_Utilities.Reflection +{ + /// + /// Reflection class + /// + public static class Reflection + { + /// + /// Copies all properties of an object to a new one. + /// + /// + /// + /// + public static T CopyProperties(this object obj) where T : new() + { + T newObj = new T(); + + Type objType = obj.GetType(); + Type newObjType = newObj.GetType(); + + foreach (PropertyInfo propertyInfo in objType.GetProperties()) + { + PropertyInfo newObjPropertyInfo = newObjType.GetProperty(propertyInfo.Name); + if (!(newObjPropertyInfo is null) && newObjPropertyInfo.PropertyType.IsAssignableFrom(propertyInfo.PropertyType)) + { + newObjPropertyInfo.SetValue(newObj, propertyInfo.GetValue(obj)); + } + } + + return newObj; + } + + /// + /// Copies all properties of an object to a different one. + /// + /// + /// + /// + /// + public static T CopyProperties(this object obj, T newObj) + { + Type objType = obj.GetType(); + Type newObjType = newObj.GetType(); + + foreach (PropertyInfo propertyInfo in objType.GetProperties()) + { + PropertyInfo newObjPropertyInfo = newObjType.GetProperty(propertyInfo.Name); + if (!(newObjPropertyInfo is null) && newObjPropertyInfo.PropertyType.IsAssignableFrom(propertyInfo.PropertyType)) + { + newObjPropertyInfo.SetValue(newObj, propertyInfo.GetValue(obj)); + } + } + + return newObj; + } + } +} \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.csproj b/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.csproj index 820cdf0..f3bbf80 100644 --- a/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.csproj +++ b/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.csproj @@ -12,13 +12,13 @@ en LICENSE false - 1.0.2.1 - 1.0.2.1 - 1.0.2.1 + 1.0.3.1 + 1.0.3.1 + 1.0.3.1 - C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities.xml + C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities.xml @@ -31,4 +31,11 @@ + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.md b/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.md new file mode 100644 index 0000000..a760296 --- /dev/null +++ b/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.md @@ -0,0 +1,3085 @@ + +# Stone_Red-C-Sharp-Utilities + +## Contents + +- [BoolExt](#T-Stone_Red_Utilities-BoolExtentions-BoolExt 'Stone_Red_Utilities.BoolExtentions.BoolExt') + - [FromInt(bol,input)](#M-Stone_Red_Utilities-BoolExtentions-BoolExt-FromInt-System-Boolean@,System-Int32- 'Stone_Red_Utilities.BoolExtentions.BoolExt.FromInt(System.Boolean@,System.Int32)') + - [OneWayFalse(bol,input)](#M-Stone_Red_Utilities-BoolExtentions-BoolExt-OneWayFalse-System-Boolean@,System-Boolean- 'Stone_Red_Utilities.BoolExtentions.BoolExt.OneWayFalse(System.Boolean@,System.Boolean)') + - [OneWayTrue(bol,input)](#M-Stone_Red_Utilities-BoolExtentions-BoolExt-OneWayTrue-System-Boolean@,System-Boolean- 'Stone_Red_Utilities.BoolExtentions.BoolExt.OneWayTrue(System.Boolean@,System.Boolean)') + - [ToInt(input)](#M-Stone_Red_Utilities-BoolExtentions-BoolExt-ToInt-System-Boolean- 'Stone_Red_Utilities.BoolExtentions.BoolExt.ToInt(System.Boolean)') +- [CollectionExt](#T-Stone_Red_Utilities-CollectionExtentions-CollectionExt 'Stone_Red_Utilities.CollectionExtentions.CollectionExt') + - [PrintTable\`\`1(array,tableStyle)](#M-Stone_Red_Utilities-CollectionExtentions-CollectionExt-PrintTable``1-``0[0-,0-],Stone_Red_Utilities-CollectionExtentions-TableStyle- 'Stone_Red_Utilities.CollectionExtentions.CollectionExt.PrintTable``1(``0[0:,0:],Stone_Red_Utilities.CollectionExtentions.TableStyle)') + - [Print\`\`1(collection,delimiter,printToDebugConsole)](#M-Stone_Red_Utilities-CollectionExtentions-CollectionExt-Print``1-System-Collections-Generic-IEnumerable{``0},System-Char,System-Boolean- 'Stone_Red_Utilities.CollectionExtentions.CollectionExt.Print``1(System.Collections.Generic.IEnumerable{``0},System.Char,System.Boolean)') +- [ConsoleExt](#T-Stone_Red_Utilities-ConsoleExtentions-ConsoleExt 'Stone_Red_Utilities.ConsoleExtentions.ConsoleExt') + - [Pause(enterKeyOnly,customMessage)](#M-Stone_Red_Utilities-ConsoleExtentions-ConsoleExt-Pause-System-Boolean,System-String- 'Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Pause(System.Boolean,System.String)') + - [Write(value,color)](#M-Stone_Red_Utilities-ConsoleExtentions-ConsoleExt-Write-System-Object,System-ConsoleColor- 'Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Write(System.Object,System.ConsoleColor)') + - [WriteLine(value,color)](#M-Stone_Red_Utilities-ConsoleExtentions-ConsoleExt-WriteLine-System-Object,System-ConsoleColor- 'Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.WriteLine(System.Object,System.ConsoleColor)') +- [DecimalFluent](#T-Stone_Red_Utilities-FluentMath-DecimalFluent 'Stone_Red_Utilities.FluentMath.DecimalFluent') + - [Abs()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Abs-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Abs(System.Decimal)') + - [Add(num,value)](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Add-System-Decimal,System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Add(System.Decimal,System.Decimal)') + - [Ceiling()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Ceiling-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Ceiling(System.Decimal)') + - [Clamp()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Clamp-System-Decimal,System-Decimal,System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Clamp(System.Decimal,System.Decimal,System.Decimal)') + - [Divide(num,value)](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Divide-System-Decimal,System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Divide(System.Decimal,System.Decimal)') + - [Floor()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Floor-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Floor(System.Decimal)') + - [Multiply(num,value)](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Multiply-System-Decimal,System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Multiply(System.Decimal,System.Decimal)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Round-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Round(System.Decimal)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Round-System-Decimal,System-MidpointRounding- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Round(System.Decimal,System.MidpointRounding)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Round-System-Decimal,System-Int32- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Round(System.Decimal,System.Int32)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Round-System-Decimal,System-Int32,System-MidpointRounding- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Round(System.Decimal,System.Int32,System.MidpointRounding)') + - [Sign()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Sign-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Sign(System.Decimal)') + - [Subtract(num,value)](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Subtract-System-Decimal,System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Subtract(System.Decimal,System.Decimal)') + - [ToDouble(num)](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-ToDouble-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.ToDouble(System.Decimal)') + - [ToInt16(num)](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-ToInt16-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.ToInt16(System.Decimal)') + - [ToInt32(num)](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-ToInt32-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.ToInt32(System.Decimal)') + - [ToInt64(num)](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-ToInt64-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.ToInt64(System.Decimal)') + - [ToSingle(num)](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-ToSingle-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.ToSingle(System.Decimal)') + - [Truncate()](#M-Stone_Red_Utilities-FluentMath-DecimalFluent-Truncate-System-Decimal- 'Stone_Red_Utilities.FluentMath.DecimalFluent.Truncate(System.Decimal)') +- [DoubleFluent](#T-Stone_Red_Utilities-FluentMath-DoubleFluent 'Stone_Red_Utilities.FluentMath.DoubleFluent') + - [Abs()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Abs-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Abs(System.Double)') + - [Acos()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Acos-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Acos(System.Double)') + - [Acosh()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Acosh-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Acosh(System.Double)') + - [Add(num,value)](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Add-System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Add(System.Double,System.Double)') + - [Asin()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Asin-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Asin(System.Double)') + - [Asinh()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Asinh-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Asinh(System.Double)') + - [Atan()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Atan-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Atan(System.Double)') + - [Atan2()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Atan2-System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Atan2(System.Double,System.Double)') + - [Atanh()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Atanh-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Atanh(System.Double)') + - [Cbrt()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Cbrt-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Cbrt(System.Double)') + - [Ceiling()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Ceiling-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Ceiling(System.Double)') + - [Clamp()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Clamp-System-Double,System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Clamp(System.Double,System.Double,System.Double)') + - [Cos()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Cos-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Cos(System.Double)') + - [Cosh()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Cosh-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Cosh(System.Double)') + - [Divide(num,value)](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Divide-System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Divide(System.Double,System.Double)') + - [Exp()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Exp-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Exp(System.Double)') + - [Floor()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Floor-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Floor(System.Double)') + - [IEEERemainder()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-IEEERemainder-System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.IEEERemainder(System.Double,System.Double)') + - [Log()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Log-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Log(System.Double)') + - [Log()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Log-System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Log(System.Double,System.Double)') + - [Log10()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Log10-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Log10(System.Double)') + - [Multiply(num,value)](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Multiply-System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Multiply(System.Double,System.Double)') + - [Pow()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Pow-System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Pow(System.Double,System.Double)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Round-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Round(System.Double)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Round-System-Double,System-MidpointRounding- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Round(System.Double,System.MidpointRounding)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Round-System-Double,System-Int32- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Round(System.Double,System.Int32)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Round-System-Double,System-Int32,System-MidpointRounding- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Round(System.Double,System.Int32,System.MidpointRounding)') + - [Sign()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Sign-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Sign(System.Double)') + - [Sin()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Sin-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Sin(System.Double)') + - [Sinh()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Sinh-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Sinh(System.Double)') + - [Sqrt()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Sqrt-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Sqrt(System.Double)') + - [Subtract(num,value)](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Subtract-System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Subtract(System.Double,System.Double)') + - [Tan()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Tan-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Tan(System.Double)') + - [Tanh()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Tanh-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Tanh(System.Double)') + - [ToDecimal(num)](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-ToDecimal-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.ToDecimal(System.Double)') + - [ToInt16(num)](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-ToInt16-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.ToInt16(System.Double)') + - [ToInt32(num)](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-ToInt32-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.ToInt32(System.Double)') + - [ToInt64(num)](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-ToInt64-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.ToInt64(System.Double)') + - [ToSingle(num)](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-ToSingle-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.ToSingle(System.Double)') + - [Truncate()](#M-Stone_Red_Utilities-FluentMath-DoubleFluent-Truncate-System-Double- 'Stone_Red_Utilities.FluentMath.DoubleFluent.Truncate(System.Double)') +- [FormatConfig](#T-Stone_Red_Utilities-Logging-FormatConfig 'Stone_Red_Utilities.Logging.FormatConfig') + - [ConsoleFormat](#P-Stone_Red_Utilities-Logging-FormatConfig-ConsoleFormat 'Stone_Red_Utilities.Logging.FormatConfig.ConsoleFormat') + - [DebugConsoleFormat](#P-Stone_Red_Utilities-Logging-FormatConfig-DebugConsoleFormat 'Stone_Red_Utilities.Logging.FormatConfig.DebugConsoleFormat') + - [FileFormat](#P-Stone_Red_Utilities-Logging-FormatConfig-FileFormat 'Stone_Red_Utilities.Logging.FormatConfig.FileFormat') +- [Int16Fluent](#T-Stone_Red_Utilities-FluentMath-Int16Fluent 'Stone_Red_Utilities.FluentMath.Int16Fluent') + - [Abs()](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-Abs-System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.Abs(System.Int16)') + - [Add(num,value)](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-Add-System-Int16,System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.Add(System.Int16,System.Int16)') + - [Clamp()](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-Clamp-System-Int16,System-Int16,System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.Clamp(System.Int16,System.Int16,System.Int16)') + - [Divide(num,value)](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-Divide-System-Int16,System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.Divide(System.Int16,System.Int16)') + - [Multiply(num,value)](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-Multiply-System-Int16,System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.Multiply(System.Int16,System.Int16)') + - [Sign()](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-Sign-System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.Sign(System.Int16)') + - [Subtract(num,value)](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-Subtract-System-Int16,System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.Subtract(System.Int16,System.Int16)') + - [ToDecimal(num)](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-ToDecimal-System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.ToDecimal(System.Int16)') + - [ToDouble(num)](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-ToDouble-System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.ToDouble(System.Int16)') + - [ToInt32(num)](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-ToInt32-System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.ToInt32(System.Int16)') + - [ToInt64(num)](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-ToInt64-System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.ToInt64(System.Int16)') + - [ToSingle(num)](#M-Stone_Red_Utilities-FluentMath-Int16Fluent-ToSingle-System-Int16- 'Stone_Red_Utilities.FluentMath.Int16Fluent.ToSingle(System.Int16)') +- [Int32Fluent](#T-Stone_Red_Utilities-FluentMath-Int32Fluent 'Stone_Red_Utilities.FluentMath.Int32Fluent') + - [Abs()](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-Abs-System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.Abs(System.Int32)') + - [Add(num,value)](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-Add-System-Int32,System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.Add(System.Int32,System.Int32)') + - [Clamp()](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-Clamp-System-Int32,System-Int32,System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.Clamp(System.Int32,System.Int32,System.Int32)') + - [Divide(num,value)](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-Divide-System-Int32,System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.Divide(System.Int32,System.Int32)') + - [Multiply(num,value)](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-Multiply-System-Int32,System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.Multiply(System.Int32,System.Int32)') + - [Sign()](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-Sign-System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.Sign(System.Int32)') + - [Subtract(num,value)](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-Subtract-System-Int32,System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.Subtract(System.Int32,System.Int32)') + - [ToDecimal(num)](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-ToDecimal-System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.ToDecimal(System.Int32)') + - [ToDouble(num)](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-ToDouble-System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.ToDouble(System.Int32)') + - [ToInt16(num)](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-ToInt16-System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.ToInt16(System.Int32)') + - [ToInt64(num)](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-ToInt64-System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.ToInt64(System.Int32)') + - [ToSingle(num)](#M-Stone_Red_Utilities-FluentMath-Int32Fluent-ToSingle-System-Int32- 'Stone_Red_Utilities.FluentMath.Int32Fluent.ToSingle(System.Int32)') +- [Int64Fluent](#T-Stone_Red_Utilities-FluentMath-Int64Fluent 'Stone_Red_Utilities.FluentMath.Int64Fluent') + - [Abs()](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-Abs-System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.Abs(System.Int64)') + - [Add(num,value)](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-Add-System-Int64,System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.Add(System.Int64,System.Int64)') + - [Clamp()](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-Clamp-System-Int64,System-Int64,System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.Clamp(System.Int64,System.Int64,System.Int64)') + - [Divide(num,value)](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-Divide-System-Int64,System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.Divide(System.Int64,System.Int64)') + - [Multiply(num,value)](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-Multiply-System-Int64,System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.Multiply(System.Int64,System.Int64)') + - [Sign()](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-Sign-System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.Sign(System.Int64)') + - [Subtract(num,value)](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-Subtract-System-Int64,System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.Subtract(System.Int64,System.Int64)') + - [ToDecimal(num)](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-ToDecimal-System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.ToDecimal(System.Int64)') + - [ToDouble(num)](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-ToDouble-System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.ToDouble(System.Int64)') + - [ToInt16(num)](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-ToInt16-System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.ToInt16(System.Int64)') + - [ToInt32(num)](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-ToInt32-System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.ToInt32(System.Int64)') + - [ToSingle(num)](#M-Stone_Red_Utilities-FluentMath-Int64Fluent-ToSingle-System-Int64- 'Stone_Red_Utilities.FluentMath.Int64Fluent.ToSingle(System.Int64)') +- [LogConfig](#T-Stone_Red_Utilities-Logging-LogConfig 'Stone_Red_Utilities.Logging.LogConfig') + - [DebugConfig](#P-Stone_Red_Utilities-Logging-LogConfig-DebugConfig 'Stone_Red_Utilities.Logging.LogConfig.DebugConfig') + - [ErrorConfig](#P-Stone_Red_Utilities-Logging-LogConfig-ErrorConfig 'Stone_Red_Utilities.Logging.LogConfig.ErrorConfig') + - [FatalConfig](#P-Stone_Red_Utilities-Logging-LogConfig-FatalConfig 'Stone_Red_Utilities.Logging.LogConfig.FatalConfig') + - [FormatConfig](#P-Stone_Red_Utilities-Logging-LogConfig-FormatConfig 'Stone_Red_Utilities.Logging.LogConfig.FormatConfig') + - [InfoConfig](#P-Stone_Red_Utilities-Logging-LogConfig-InfoConfig 'Stone_Red_Utilities.Logging.LogConfig.InfoConfig') + - [WarnConfig](#P-Stone_Red_Utilities-Logging-LogConfig-WarnConfig 'Stone_Red_Utilities.Logging.LogConfig.WarnConfig') +- [LogFormatType](#T-Stone_Red_Utilities-Logging-LogFormatType 'Stone_Red_Utilities.Logging.LogFormatType') + - [DateTime](#F-Stone_Red_Utilities-Logging-LogFormatType-DateTime 'Stone_Red_Utilities.Logging.LogFormatType.DateTime') + - [FilePath](#F-Stone_Red_Utilities-Logging-LogFormatType-FilePath 'Stone_Red_Utilities.Logging.LogFormatType.FilePath') + - [LineNumber](#F-Stone_Red_Utilities-Logging-LogFormatType-LineNumber 'Stone_Red_Utilities.Logging.LogFormatType.LineNumber') + - [LogSeverity](#F-Stone_Red_Utilities-Logging-LogFormatType-LogSeverity 'Stone_Red_Utilities.Logging.LogFormatType.LogSeverity') + - [MemberName](#F-Stone_Red_Utilities-Logging-LogFormatType-MemberName 'Stone_Red_Utilities.Logging.LogFormatType.MemberName') + - [Message](#F-Stone_Red_Utilities-Logging-LogFormatType-Message 'Stone_Red_Utilities.Logging.LogFormatType.Message') + - [Source](#F-Stone_Red_Utilities-Logging-LogFormatType-Source 'Stone_Red_Utilities.Logging.LogFormatType.Source') +- [LogSeverity](#T-Stone_Red_Utilities-Logging-LogSeverity 'Stone_Red_Utilities.Logging.LogSeverity') + - [Debug](#F-Stone_Red_Utilities-Logging-LogSeverity-Debug 'Stone_Red_Utilities.Logging.LogSeverity.Debug') + - [Error](#F-Stone_Red_Utilities-Logging-LogSeverity-Error 'Stone_Red_Utilities.Logging.LogSeverity.Error') + - [Fatal](#F-Stone_Red_Utilities-Logging-LogSeverity-Fatal 'Stone_Red_Utilities.Logging.LogSeverity.Fatal') + - [Info](#F-Stone_Red_Utilities-Logging-LogSeverity-Info 'Stone_Red_Utilities.Logging.LogSeverity.Info') + - [Warn](#F-Stone_Red_Utilities-Logging-LogSeverity-Warn 'Stone_Red_Utilities.Logging.LogSeverity.Warn') +- [LogTarget](#T-Stone_Red_Utilities-Logging-LogTarget 'Stone_Red_Utilities.Logging.LogTarget') + - [Console](#F-Stone_Red_Utilities-Logging-LogTarget-Console 'Stone_Red_Utilities.Logging.LogTarget.Console') + - [DebugConsole](#F-Stone_Red_Utilities-Logging-LogTarget-DebugConsole 'Stone_Red_Utilities.Logging.LogTarget.DebugConsole') + - [File](#F-Stone_Red_Utilities-Logging-LogTarget-File 'Stone_Red_Utilities.Logging.LogTarget.File') +- [Logger](#T-Stone_Red_Utilities-Logging-Logger 'Stone_Red_Utilities.Logging.Logger') + - [Config](#P-Stone_Red_Utilities-Logging-Logger-Config 'Stone_Red_Utilities.Logging.Logger.Config') + - [ClearLogFile()](#M-Stone_Red_Utilities-Logging-Logger-ClearLogFile-Stone_Red_Utilities-Logging-LogSeverity- 'Stone_Red_Utilities.Logging.Logger.ClearLogFile(Stone_Red_Utilities.Logging.LogSeverity)') + - [Log(message,source,logSeverity,memberName,sourceFilePath,sourceLineNumber)](#M-Stone_Red_Utilities-Logging-Logger-Log-System-String,System-String,Stone_Red_Utilities-Logging-LogSeverity,System-String,System-String,System-Int32- 'Stone_Red_Utilities.Logging.Logger.Log(System.String,System.String,Stone_Red_Utilities.Logging.LogSeverity,System.String,System.String,System.Int32)') + - [Log(message,logSeverity,memberName,sourceFilePath,sourceLineNumber)](#M-Stone_Red_Utilities-Logging-Logger-Log-System-String,Stone_Red_Utilities-Logging-LogSeverity,System-String,System-String,System-Int32- 'Stone_Red_Utilities.Logging.Logger.Log(System.String,Stone_Red_Utilities.Logging.LogSeverity,System.String,System.String,System.Int32)') + - [LogIf(condition,message,source,logSeverity,memberName,sourceFilePath,sourceLineNumber)](#M-Stone_Red_Utilities-Logging-Logger-LogIf-System-Boolean,System-String,System-String,Stone_Red_Utilities-Logging-LogSeverity,System-String,System-String,System-Int32- 'Stone_Red_Utilities.Logging.Logger.LogIf(System.Boolean,System.String,System.String,Stone_Red_Utilities.Logging.LogSeverity,System.String,System.String,System.Int32)') + - [LogIf(condition,message,logSeverity,memberName,sourceFilePath,sourceLineNumber)](#M-Stone_Red_Utilities-Logging-Logger-LogIf-System-Boolean,System-String,Stone_Red_Utilities-Logging-LogSeverity,System-String,System-String,System-Int32- 'Stone_Red_Utilities.Logging.Logger.LogIf(System.Boolean,System.String,Stone_Red_Utilities.Logging.LogSeverity,System.String,System.String,System.Int32)') +- [OutputConfig](#T-Stone_Red_Utilities-Logging-OutputConfig 'Stone_Red_Utilities.Logging.OutputConfig') + - [Color](#P-Stone_Red_Utilities-Logging-OutputConfig-Color 'Stone_Red_Utilities.Logging.OutputConfig.Color') + - [FilePath](#P-Stone_Red_Utilities-Logging-OutputConfig-FilePath 'Stone_Red_Utilities.Logging.OutputConfig.FilePath') + - [LogTarget](#P-Stone_Red_Utilities-Logging-OutputConfig-LogTarget 'Stone_Red_Utilities.Logging.OutputConfig.LogTarget') +- [RandomExt](#T-Stone_Red_Utilities-RandomExtentions-RandomExt 'Stone_Red_Utilities.RandomExtentions.RandomExt') + - [NextBool(random)](#M-Stone_Red_Utilities-RandomExtentions-RandomExt-NextBool-System-Random- 'Stone_Red_Utilities.RandomExtentions.RandomExt.NextBool(System.Random)') + - [NextEnum\`\`1(random)](#M-Stone_Red_Utilities-RandomExtentions-RandomExt-NextEnum``1-System-Random- 'Stone_Red_Utilities.RandomExtentions.RandomExt.NextEnum``1(System.Random)') + - [NextItem\`\`1(random,collection)](#M-Stone_Red_Utilities-RandomExtentions-RandomExt-NextItem``1-System-Random,System-Collections-Generic-IEnumerable{``0}- 'Stone_Red_Utilities.RandomExtentions.RandomExt.NextItem``1(System.Random,System.Collections.Generic.IEnumerable{``0})') +- [Rectangle](#T-Stone_Red_Utilities-FluentMath-Shapes-Rectangle 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle') + - [#ctor(length,width)](#M-Stone_Red_Utilities-FluentMath-Shapes-Rectangle-#ctor-System-Double,System-Double- 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle.#ctor(System.Double,System.Double)') + - [Area](#P-Stone_Red_Utilities-FluentMath-Shapes-Rectangle-Area 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle.Area') + - [Diagonal](#P-Stone_Red_Utilities-FluentMath-Shapes-Rectangle-Diagonal 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle.Diagonal') + - [Length](#P-Stone_Red_Utilities-FluentMath-Shapes-Rectangle-Length 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle.Length') + - [Perimeter](#P-Stone_Red_Utilities-FluentMath-Shapes-Rectangle-Perimeter 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle.Perimeter') + - [Width](#P-Stone_Red_Utilities-FluentMath-Shapes-Rectangle-Width 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle.Width') +- [Reflection](#T-Stone_Red_Utilities-Reflection-Reflection 'Stone_Red_Utilities.Reflection.Reflection') + - [CopyProperties\`\`1(obj)](#M-Stone_Red_Utilities-Reflection-Reflection-CopyProperties``1-System-Object- 'Stone_Red_Utilities.Reflection.Reflection.CopyProperties``1(System.Object)') + - [CopyProperties\`\`1(obj,newObj)](#M-Stone_Red_Utilities-Reflection-Reflection-CopyProperties``1-System-Object,``0- 'Stone_Red_Utilities.Reflection.Reflection.CopyProperties``1(System.Object,``0)') +- [SingleFluent](#T-Stone_Red_Utilities-FluentMath-SingleFluent 'Stone_Red_Utilities.FluentMath.SingleFluent') + - [Abs()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Abs-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Abs(System.Single)') + - [Acos()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Acos-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Acos(System.Single)') + - [Acosh()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Acosh-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Acosh(System.Single)') + - [Add(num,value)](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Add-System-Single,System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Add(System.Single,System.Single)') + - [Asin()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Asin-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Asin(System.Single)') + - [Asinh()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Asinh-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Asinh(System.Single)') + - [Atan()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Atan-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Atan(System.Single)') + - [Atan2()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Atan2-System-Single,System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Atan2(System.Single,System.Single)') + - [Atanh()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Atanh-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Atanh(System.Single)') + - [Cbrt()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Cbrt-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Cbrt(System.Single)') + - [Ceiling()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Ceiling-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Ceiling(System.Single)') + - [Clamp()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Clamp-System-Single,System-Single,System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Clamp(System.Single,System.Single,System.Single)') + - [Cos()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Cos-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Cos(System.Single)') + - [Cosh()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Cosh-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Cosh(System.Single)') + - [Divide(num,value)](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Divide-System-Single,System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Divide(System.Single,System.Single)') + - [Exp()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Exp-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Exp(System.Single)') + - [Floor()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Floor-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Floor(System.Single)') + - [IEEERemainder()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-IEEERemainder-System-Single,System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.IEEERemainder(System.Single,System.Single)') + - [Log()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Log-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Log(System.Single)') + - [Log()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Log-System-Single,System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Log(System.Single,System.Single)') + - [Log10()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Log10-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Log10(System.Single)') + - [Multiply(num,value)](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Multiply-System-Single,System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Multiply(System.Single,System.Single)') + - [Pow()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Pow-System-Single,System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Pow(System.Single,System.Single)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Round-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Round(System.Single)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Round-System-Single,System-MidpointRounding- 'Stone_Red_Utilities.FluentMath.SingleFluent.Round(System.Single,System.MidpointRounding)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Round-System-Single,System-Int32- 'Stone_Red_Utilities.FluentMath.SingleFluent.Round(System.Single,System.Int32)') + - [Round()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Round-System-Single,System-Int32,System-MidpointRounding- 'Stone_Red_Utilities.FluentMath.SingleFluent.Round(System.Single,System.Int32,System.MidpointRounding)') + - [Sign()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Sign-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Sign(System.Single)') + - [Sin()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Sin-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Sin(System.Single)') + - [Sinh()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Sinh-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Sinh(System.Single)') + - [Sqrt()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Sqrt-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Sqrt(System.Single)') + - [Subtract(num,value)](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Subtract-System-Single,System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Subtract(System.Single,System.Single)') + - [Tan()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Tan-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Tan(System.Single)') + - [Tanh()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Tanh-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Tanh(System.Single)') + - [ToDecimal(num)](#M-Stone_Red_Utilities-FluentMath-SingleFluent-ToDecimal-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.ToDecimal(System.Single)') + - [ToDouble(num)](#M-Stone_Red_Utilities-FluentMath-SingleFluent-ToDouble-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.ToDouble(System.Single)') + - [ToInt16(num)](#M-Stone_Red_Utilities-FluentMath-SingleFluent-ToInt16-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.ToInt16(System.Single)') + - [ToInt32(num)](#M-Stone_Red_Utilities-FluentMath-SingleFluent-ToInt32-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.ToInt32(System.Single)') + - [ToInt64(num)](#M-Stone_Red_Utilities-FluentMath-SingleFluent-ToInt64-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.ToInt64(System.Single)') + - [Truncate()](#M-Stone_Red_Utilities-FluentMath-SingleFluent-Truncate-System-Single- 'Stone_Red_Utilities.FluentMath.SingleFluent.Truncate(System.Single)') +- [StringExt](#T-Stone_Red_Utilities-StringExtentions-StringExt 'Stone_Red_Utilities.StringExtentions.StringExt') + - [CorrectNewLine(str)](#M-Stone_Red_Utilities-StringExtentions-StringExt-CorrectNewLine-System-String- 'Stone_Red_Utilities.StringExtentions.StringExt.CorrectNewLine(System.String)') + - [EqualsIgnoreCase(value,str)](#M-Stone_Red_Utilities-StringExtentions-StringExt-EqualsIgnoreCase-System-String,System-String- 'Stone_Red_Utilities.StringExtentions.StringExt.EqualsIgnoreCase(System.String,System.String)') + - [EqualsIgnoreSpaces(value,str)](#M-Stone_Red_Utilities-StringExtentions-StringExt-EqualsIgnoreSpaces-System-String,System-String- 'Stone_Red_Utilities.StringExtentions.StringExt.EqualsIgnoreSpaces(System.String,System.String)') + - [EqualsIgnoreSpacesAndCase(value,str)](#M-Stone_Red_Utilities-StringExtentions-StringExt-EqualsIgnoreSpacesAndCase-System-String,System-String- 'Stone_Red_Utilities.StringExtentions.StringExt.EqualsIgnoreSpacesAndCase(System.String,System.String)') + - [RemoveWhitespaces(str)](#M-Stone_Red_Utilities-StringExtentions-StringExt-RemoveWhitespaces-System-String- 'Stone_Red_Utilities.StringExtentions.StringExt.RemoveWhitespaces(System.String)') + - [Reverse(str)](#M-Stone_Red_Utilities-StringExtentions-StringExt-Reverse-System-String- 'Stone_Red_Utilities.StringExtentions.StringExt.Reverse(System.String)') + - [ToFileName(str,allowSpaces)](#M-Stone_Red_Utilities-StringExtentions-StringExt-ToFileName-System-String,System-Boolean- 'Stone_Red_Utilities.StringExtentions.StringExt.ToFileName(System.String,System.Boolean)') + - [ToPath(str,allowSpaces)](#M-Stone_Red_Utilities-StringExtentions-StringExt-ToPath-System-String,System-Boolean- 'Stone_Red_Utilities.StringExtentions.StringExt.ToPath(System.String,System.Boolean)') + - [Truncate(str,length)](#M-Stone_Red_Utilities-StringExtentions-StringExt-Truncate-System-String,System-Int32- 'Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32)') + - [Truncate(str,length,ellipsis)](#M-Stone_Red_Utilities-StringExtentions-StringExt-Truncate-System-String,System-Int32,System-Boolean- 'Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32,System.Boolean)') +- [TableStyle](#T-Stone_Red_Utilities-CollectionExtentions-TableStyle 'Stone_Red_Utilities.CollectionExtentions.TableStyle') + - [Alternative](#F-Stone_Red_Utilities-CollectionExtentions-TableStyle-Alternative 'Stone_Red_Utilities.CollectionExtentions.TableStyle.Alternative') + - [Default](#F-Stone_Red_Utilities-CollectionExtentions-TableStyle-Default 'Stone_Red_Utilities.CollectionExtentions.TableStyle.Default') + - [List](#F-Stone_Red_Utilities-CollectionExtentions-TableStyle-List 'Stone_Red_Utilities.CollectionExtentions.TableStyle.List') + - [Minimum](#F-Stone_Red_Utilities-CollectionExtentions-TableStyle-Minimum 'Stone_Red_Utilities.CollectionExtentions.TableStyle.Minimum') + + +## BoolExt `type` + +##### Namespace + +Stone_Red_Utilities.BoolExtentions + +##### Summary + +[Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') Extentions + + +### FromInt(bol,input) `method` + +##### Summary + +Converts int to bool. + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| bol | [System.Boolean@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean@ 'System.Boolean@') | | +| input | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### OneWayFalse(bol,input) `method` + +##### Summary + +Sets value to false if input is false. If input is true the value will not change. + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| bol | [System.Boolean@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean@ 'System.Boolean@') | | +| input | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | + + +### OneWayTrue(bol,input) `method` + +##### Summary + +Sets value to true if input is true. If input is false the value will not change. + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| bol | [System.Boolean@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean@ 'System.Boolean@') | | +| input | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | + + +### ToInt(input) `method` + +##### Summary + +Converts bool to int. + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| input | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | + + +## CollectionExt `type` + +##### Namespace + +Stone_Red_Utilities.CollectionExtentions + +##### Summary + +[IEnumerable\`1](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Collections.Generic.IEnumerable`1 'System.Collections.Generic.IEnumerable`1') and [Array](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Array 'System.Array') Extentions + + +### PrintTable\`\`1(array,tableStyle) `method` + +##### Summary + +Creates and prints table from 2D array + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| array | [\`\`0[0:](#T-``0[0- '``0[0:') | | +| tableStyle | [0:]](#T-0-] '0:]') | | + +##### Generic Types + +| Name | Description | +| ---- | ----------- | +| T | | + + +### Print\`\`1(collection,delimiter,printToDebugConsole) `method` + +##### Summary + +Prints all items of an [IEnumerable\`1](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Collections.Generic.IEnumerable`1 'System.Collections.Generic.IEnumerable`1') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| collection | [System.Collections.Generic.IEnumerable{\`\`0}](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Collections.Generic.IEnumerable 'System.Collections.Generic.IEnumerable{``0}') | | +| delimiter | [System.Char](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Char 'System.Char') | | +| printToDebugConsole | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | + + +## ConsoleExt `type` + +##### Namespace + +Stone_Red_Utilities.ConsoleExtentions + +##### Summary + +[Console](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Console 'System.Console') Extentions + + +### Pause(enterKeyOnly,customMessage) `method` + +##### Summary + +Suspends execution of the current method until the user presses a key + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| enterKeyOnly | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | +| customMessage | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | + + +### Write(value,color) `method` + +##### Summary + +Writes the text representation of the specified object to the standard output stream. + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| value | [System.Object](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Object 'System.Object') | | +| color | [System.ConsoleColor](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.ConsoleColor 'System.ConsoleColor') | | + + +### WriteLine(value,color) `method` + +##### Summary + +Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream. + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| value | [System.Object](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Object 'System.Object') | | +| color | [System.ConsoleColor](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.ConsoleColor 'System.ConsoleColor') | | + + +## DecimalFluent `type` + +##### Namespace + +Stone_Red_Utilities.FluentMath + +##### Summary + +DecimalFluent class + + +### Abs() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Add(num,value) `method` + +##### Summary + +Adds the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | +| value | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | + + +### Ceiling() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Clamp() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Divide(num,value) `method` + +##### Summary + +Divides the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | +| value | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | + + +### Floor() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Multiply(num,value) `method` + +##### Summary + +Multiplys the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | +| value | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Sign() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Subtract(num,value) `method` + +##### Summary + +Subtracts the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | +| value | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | + + +### ToDouble(num) `method` + +##### Summary + +Converts number to [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Returns + +Number as [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | + + +### ToInt16(num) `method` + +##### Summary + +Converts number to [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Returns + +Number as [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | + + +### ToInt32(num) `method` + +##### Summary + +Converts number to [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Returns + +Number as [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | + + +### ToInt64(num) `method` + +##### Summary + +Converts number to [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Returns + +Number as [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | + + +### ToSingle(num) `method` + +##### Summary + +Converts number to [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Returns + +Number as [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') | | + + +### Truncate() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +## DoubleFluent `type` + +##### Namespace + +Stone_Red_Utilities.FluentMath + +##### Summary + +DoubleFluent class + + +### Abs() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Acos() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Acosh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Add(num,value) `method` + +##### Summary + +Adds the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | +| value | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### Asin() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Asinh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Atan() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Atan2() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Atanh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Cbrt() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Ceiling() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Clamp() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Cos() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Cosh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Divide(num,value) `method` + +##### Summary + +Divides the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | +| value | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### Exp() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Floor() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### IEEERemainder() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Log() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Log() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Log10() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Multiply(num,value) `method` + +##### Summary + +Multiplys the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | +| value | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### Pow() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Sign() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Sin() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Sinh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Sqrt() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Subtract(num,value) `method` + +##### Summary + +Subtracts the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | +| value | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### Tan() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Tanh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### ToDecimal(num) `method` + +##### Summary + +Converts number to [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Returns + +Number as [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### ToInt16(num) `method` + +##### Summary + +Converts number to [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Returns + +Number as [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### ToInt32(num) `method` + +##### Summary + +Converts number to [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Returns + +Number as [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### ToInt64(num) `method` + +##### Summary + +Converts number to [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Returns + +Number as [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### ToSingle(num) `method` + +##### Summary + +Converts number to [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Returns + +Number as [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### Truncate() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +## FormatConfig `type` + +##### Namespace + +Stone_Red_Utilities.Logging + +##### Summary + +Foramt configuration. + + +### ConsoleFormat `property` + +##### Summary + +The format for the console. + + +### DebugConsoleFormat `property` + +##### Summary + +The format for the debug console. + + +### FileFormat `property` + +##### Summary + +The format for the log file. + + +## Int16Fluent `type` + +##### Namespace + +Stone_Red_Utilities.FluentMath + +##### Summary + +IntegerFluent class + + +### Abs() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Add(num,value) `method` + +##### Summary + +Adds the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | +| value | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | + + +### Clamp() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Divide(num,value) `method` + +##### Summary + +Divides the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | +| value | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | + + +### Multiply(num,value) `method` + +##### Summary + +Multiplys the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | +| value | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | + + +### Sign() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Subtract(num,value) `method` + +##### Summary + +Subtracts the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | +| value | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | + + +### ToDecimal(num) `method` + +##### Summary + +Converts number to [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Returns + +Number as [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | + + +### ToDouble(num) `method` + +##### Summary + +Converts number to [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') + +##### Returns + +Number as [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | + + +### ToInt32(num) `method` + +##### Summary + +Converts number to [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Returns + +Number as [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | + + +### ToInt64(num) `method` + +##### Summary + +Converts number to [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Returns + +Number as [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | + + +### ToSingle(num) `method` + +##### Summary + +Converts number to [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Returns + +Number as [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') | | + + +## Int32Fluent `type` + +##### Namespace + +Stone_Red_Utilities.FluentMath + +##### Summary + +IntegerFluent class + + +### Abs() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Add(num,value) `method` + +##### Summary + +Adds the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | +| value | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### Clamp() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Divide(num,value) `method` + +##### Summary + +Divides the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | +| value | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### Multiply(num,value) `method` + +##### Summary + +Multiplys the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | +| value | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### Sign() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Subtract(num,value) `method` + +##### Summary + +Subtracts the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | +| value | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### ToDecimal(num) `method` + +##### Summary + +Converts number to [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Returns + +Number as [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### ToDouble(num) `method` + +##### Summary + +Converts number to [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') + +##### Returns + +Number as [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### ToInt16(num) `method` + +##### Summary + +Converts number to [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Returns + +Number as [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### ToInt64(num) `method` + +##### Summary + +Converts number to [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Returns + +Number as [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### ToSingle(num) `method` + +##### Summary + +Converts number to [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Returns + +Number as [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +## Int64Fluent `type` + +##### Namespace + +Stone_Red_Utilities.FluentMath + +##### Summary + +IntegerFluent class + + +### Abs() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Add(num,value) `method` + +##### Summary + +Adds the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | +| value | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | + + +### Clamp() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Divide(num,value) `method` + +##### Summary + +Divides the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | +| value | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | + + +### Multiply(num,value) `method` + +##### Summary + +Multiplys the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | +| value | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | + + +### Sign() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Subtract(num,value) `method` + +##### Summary + +Subtracts the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | +| value | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | + + +### ToDecimal(num) `method` + +##### Summary + +Converts number to [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Returns + +Number as [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | + + +### ToDouble(num) `method` + +##### Summary + +Converts number to [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') + +##### Returns + +Number as [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | + + +### ToInt16(num) `method` + +##### Summary + +Converts number to [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Returns + +Number as [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | + + +### ToInt32(num) `method` + +##### Summary + +Converts number to [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Returns + +Number as [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | + + +### ToSingle(num) `method` + +##### Summary + +Converts number to [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Returns + +Number as [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | | + + +## LogConfig `type` + +##### Namespace + +Stone_Red_Utilities.Logging + +##### Summary + +Logging configuration. + + +### DebugConfig `property` + +##### Summary + +The configuration for [Debug](#F-Stone_Red_Utilities-Logging-LogSeverity-Debug 'Stone_Red_Utilities.Logging.LogSeverity.Debug') messages. + + +### ErrorConfig `property` + +##### Summary + +The configuration for [Error](#F-Stone_Red_Utilities-Logging-LogSeverity-Error 'Stone_Red_Utilities.Logging.LogSeverity.Error') messages. + + +### FatalConfig `property` + +##### Summary + +The configuration for [Fatal](#F-Stone_Red_Utilities-Logging-LogSeverity-Fatal 'Stone_Red_Utilities.Logging.LogSeverity.Fatal') messages. + + +### FormatConfig `property` + +##### Summary + +The configuration for the message format. + + +### InfoConfig `property` + +##### Summary + +The configuration for [Info](#F-Stone_Red_Utilities-Logging-LogSeverity-Info 'Stone_Red_Utilities.Logging.LogSeverity.Info') messages. + + +### WarnConfig `property` + +##### Summary + +The configuration for [Warn](#F-Stone_Red_Utilities-Logging-LogSeverity-Warn 'Stone_Red_Utilities.Logging.LogSeverity.Warn') messages. + + +## LogFormatType `type` + +##### Namespace + +Stone_Red_Utilities.Logging + +##### Summary + +Specifies the info type of the log message format. + + +### DateTime `constants` + +##### Summary + +The [DateTime](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.DateTime 'System.DateTime') of the log message. + + +### FilePath `constants` + +##### Summary + +The file path of the log message. + + +### LineNumber `constants` + +##### Summary + +The line number of the log message. + + +### LogSeverity `constants` + +##### Summary + +The [LogSeverity](#T-Stone_Red_Utilities-Logging-LogSeverity 'Stone_Red_Utilities.Logging.LogSeverity') of the log message. + + +### MemberName `constants` + +##### Summary + +The member name of the log message. + + +### Message `constants` + +##### Summary + +The message of the log message. + + +### Source `constants` + +##### Summary + +The source of the log message. + + +## LogSeverity `type` + +##### Namespace + +Stone_Red_Utilities.Logging + +##### Summary + +Specifies the severity of the log message. + + +### Debug `constants` + +##### Summary + +Logs that contain the most detailed messages. + + +### Error `constants` + +##### Summary + +Logs that highlight when the flow of execution is stopped due to a failure. + + +### Fatal `constants` + +##### Summary + +Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + + +### Info `constants` + +##### Summary + +Logs that track the general flow of the application. + + +### Warn `constants` + +##### Summary + +Logs that highlight an abnormal activity in the flow of execution. + + +## LogTarget `type` + +##### Namespace + +Stone_Red_Utilities.Logging + +##### Summary + +Specifies the target of the log message. + + +### Console `constants` + +##### Summary + +Writes log to console + + +### DebugConsole `constants` + +##### Summary + +Writes log to debug console + + +### File `constants` + +##### Summary + +Writes log to file + + +## Logger `type` + +##### Namespace + +Stone_Red_Utilities.Logging + +##### Summary + +Class used for logging + + +### Config `property` + +##### Summary + +The logging configuration. + + +### ClearLogFile() `method` + +##### Summary + +Clears the log file + +##### Parameters + +This method has no parameters. + + +### Log(message,source,logSeverity,memberName,sourceFilePath,sourceLineNumber) `method` + +##### Summary + +Log the message to the specified output + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| message | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| source | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| logSeverity | [Stone_Red_Utilities.Logging.LogSeverity](#T-Stone_Red_Utilities-Logging-LogSeverity 'Stone_Red_Utilities.Logging.LogSeverity') | | +| memberName | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| sourceFilePath | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| sourceLineNumber | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### Log(message,logSeverity,memberName,sourceFilePath,sourceLineNumber) `method` + +##### Summary + +Log the message to the specified output + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| message | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| logSeverity | [Stone_Red_Utilities.Logging.LogSeverity](#T-Stone_Red_Utilities-Logging-LogSeverity 'Stone_Red_Utilities.Logging.LogSeverity') | | +| memberName | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| sourceFilePath | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| sourceLineNumber | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### LogIf(condition,message,source,logSeverity,memberName,sourceFilePath,sourceLineNumber) `method` + +##### Summary + +Log the message to the specified output if the condition is met + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| condition | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | +| message | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| source | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| logSeverity | [Stone_Red_Utilities.Logging.LogSeverity](#T-Stone_Red_Utilities-Logging-LogSeverity 'Stone_Red_Utilities.Logging.LogSeverity') | | +| memberName | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| sourceFilePath | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| sourceLineNumber | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### LogIf(condition,message,logSeverity,memberName,sourceFilePath,sourceLineNumber) `method` + +##### Summary + +Log the message to the specified output if the condition is met + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| condition | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | +| message | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| logSeverity | [Stone_Red_Utilities.Logging.LogSeverity](#T-Stone_Red_Utilities-Logging-LogSeverity 'Stone_Red_Utilities.Logging.LogSeverity') | | +| memberName | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| sourceFilePath | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| sourceLineNumber | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +## OutputConfig `type` + +##### Namespace + +Stone_Red_Utilities.Logging + +##### Summary + +Output configuration. + + +### Color `property` + +##### Summary + +The onsole color of the log message. + + +### FilePath `property` + +##### Summary + +The log file path. + + +### LogTarget `property` + +##### Summary + +The target for the log message. + + +## RandomExt `type` + +##### Namespace + +Stone_Red_Utilities.RandomExtentions + +##### Summary + +[Random](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Random 'System.Random') Extentions + + +### NextBool(random) `method` + +##### Summary + +Returns a random [Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') using the [Random](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Random 'System.Random') class + +##### Returns + +Returns `true` or `false` + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| random | [System.Random](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Random 'System.Random') | | + +##### Exceptions + +| Name | Description | +| ---- | ----------- | +| [System.ArgumentNullException](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.ArgumentNullException 'System.ArgumentNullException') | `random` is `null` | + + +### NextEnum\`\`1(random) `method` + +##### Summary + +Returns a random item from the specified [Enum](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Enum 'System.Enum') using the [Random](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Random 'System.Random') class + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| random | [System.Random](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Random 'System.Random') | | + +##### Generic Types + +| Name | Description | +| ---- | ----------- | +| T | | + + +### NextItem\`\`1(random,collection) `method` + +##### Summary + +Returns an random item from the specified `collection` using the [Random](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Random 'System.Random') class + +##### Returns + +Returns a random item from the specified `collection` + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| random | [System.Random](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Random 'System.Random') | | +| collection | [System.Collections.Generic.IEnumerable{\`\`0}](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Collections.Generic.IEnumerable 'System.Collections.Generic.IEnumerable{``0}') | | + +##### Generic Types + +| Name | Description | +| ---- | ----------- | +| T | | + +##### Exceptions + +| Name | Description | +| ---- | ----------- | +| [System.ArgumentNullException](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.ArgumentNullException 'System.ArgumentNullException') | `collection` is `null` | + + +## Rectangle `type` + +##### Namespace + +Stone_Red_Utilities.FluentMath.Shapes + +##### Summary + +Represents a rectangle + + +### #ctor(length,width) `constructor` + +##### Summary + +Creates a new rectangle instance + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| length | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | +| width | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | | + + +### Area `property` + +##### Summary + +The area of the [Rectangle](#T-Stone_Red_Utilities-FluentMath-Shapes-Rectangle 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle') + + +### Diagonal `property` + +##### Summary + +The diagonal of the [Rectangle](#T-Stone_Red_Utilities-FluentMath-Shapes-Rectangle 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle') + + +### Length `property` + +##### Summary + +The length of the [Rectangle](#T-Stone_Red_Utilities-FluentMath-Shapes-Rectangle 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle') + + +### Perimeter `property` + +##### Summary + +The perimeter of the [Rectangle](#T-Stone_Red_Utilities-FluentMath-Shapes-Rectangle 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle') + + +### Width `property` + +##### Summary + +The width of the [Rectangle](#T-Stone_Red_Utilities-FluentMath-Shapes-Rectangle 'Stone_Red_Utilities.FluentMath.Shapes.Rectangle') + + +## Reflection `type` + +##### Namespace + +Stone_Red_Utilities.Reflection + +##### Summary + +Reflection class + + +### CopyProperties\`\`1(obj) `method` + +##### Summary + +Copies all properties of an object to a new one. + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| obj | [System.Object](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Object 'System.Object') | | + +##### Generic Types + +| Name | Description | +| ---- | ----------- | +| T | | + + +### CopyProperties\`\`1(obj,newObj) `method` + +##### Summary + +Copies all properties of an object to a different one. + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| obj | [System.Object](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Object 'System.Object') | | +| newObj | [\`\`0](#T-``0 '``0') | | + +##### Generic Types + +| Name | Description | +| ---- | ----------- | +| T | | + + +## SingleFluent `type` + +##### Namespace + +Stone_Red_Utilities.FluentMath + +##### Summary + +FloatFluent class + + +### Abs() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Acos() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Acosh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Add(num,value) `method` + +##### Summary + +Adds the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | +| value | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | + + +### Asin() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Asinh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Atan() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Atan2() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Atanh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Cbrt() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Ceiling() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Clamp() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Cos() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Cosh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Divide(num,value) `method` + +##### Summary + +Divides the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | +| value | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | + + +### Exp() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Floor() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### IEEERemainder() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Log() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Log() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Log10() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Multiply(num,value) `method` + +##### Summary + +Multiplys the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | +| value | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | + + +### Pow() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Round() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Sign() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Sin() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Sinh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Sqrt() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Subtract(num,value) `method` + +##### Summary + +Subtracts the two nums + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | +| value | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | + + +### Tan() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### Tanh() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +### ToDecimal(num) `method` + +##### Summary + +Converts number to [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Returns + +Number as [Decimal](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Decimal 'System.Decimal') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | + + +### ToDouble(num) `method` + +##### Summary + +Converts number to [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') + +##### Returns + +Number as [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | + + +### ToInt16(num) `method` + +##### Summary + +Converts number to [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Returns + +Number as [Int16](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int16 'System.Int16') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | + + +### ToInt32(num) `method` + +##### Summary + +Converts number to [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Returns + +Number as [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | + + +### ToInt64(num) `method` + +##### Summary + +Converts number to [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Returns + +Number as [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| num | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | | + + +### Truncate() `method` + +##### Summary + +*Inherit from parent.* + +##### Parameters + +This method has no parameters. + + +## StringExt `type` + +##### Namespace + +Stone_Red_Utilities.StringExtentions + +##### Summary + +[String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') Extentions + + +### CorrectNewLine(str) `method` + +##### Summary + +Uses the correct newline [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') defined for this environment. + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | + + +### EqualsIgnoreCase(value,str) `method` + +##### Summary + +Determines whether this instance and another specified [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') object have the same value regardless of upper and lower case. + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| value | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | + + +### EqualsIgnoreSpaces(value,str) `method` + +##### Summary + +Determines whether this instance and another specified [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') object have the same value regardless of spaces. + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| value | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | + + +### EqualsIgnoreSpacesAndCase(value,str) `method` + +##### Summary + +Determines whether this instance and another specified [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') object have the same value regardless of upper and lower case and spaces. + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| value | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | + + +### RemoveWhitespaces(str) `method` + +##### Summary + +Revoves all whitespaces from the specified [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | + + +### Reverse(str) `method` + +##### Summary + +Reverses the specified [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | + + +### ToFileName(str,allowSpaces) `method` + +##### Summary + +Removes all invalid chars from the specified [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| allowSpaces | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | + + +### ToPath(str,allowSpaces) `method` + +##### Summary + +Removes all invalid chars from the specified [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| allowSpaces | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | + + +### Truncate(str,length) `method` + +##### Summary + +Truncates a [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') to the specified length. + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| length | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | + + +### Truncate(str,length,ellipsis) `method` + +##### Summary + +Truncates a [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') to the specified length. + +##### Returns + + + +##### Parameters + +| Name | Type | Description | +| ---- | ---- | ----------- | +| str | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | | +| length | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | | +| ellipsis | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | | + + +## TableStyle `type` + +##### Namespace + +Stone_Red_Utilities.CollectionExtentions + +##### Summary + +Table Style + + +### Alternative `constants` + +##### Summary + +The alternative representaion of the table + + +### Default `constants` + +##### Summary + +The default representaion of the table + + +### List `constants` + +##### Summary + +The list representaion of the table + + +### Minimum `constants` + +##### Summary + +The minimal representation of the table diff --git a/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.xml b/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.xml index 4dd1b3f..c9d38f6 100644 --- a/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.xml +++ b/Stone_Red-C-Sharp-Utilities/Stone_Red-C-Sharp-Utilities.xml @@ -109,59 +109,831 @@ - + - Specifies the severity of the log target. + Represents a rectangle - + - Writes log to console + The length of the - + - Writes log to debug console + The width of the - + - Writes log to file + The diagonal of the - + - Writes log to console debug console and file + The area of the - + - Specifies the severity of the log message. + The perimeter of the - + - Logs that contain the most detailed messages. + Creates a new rectangle instance + + + + + + + DecimalFluent class - + - Logs that track the general flow of the application. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DoubleFluent class - + - Logs that highlight an abnormal activity in the flow of execution. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that highlight when the flow of execution is stopped due to a failure. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + FloatFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Logging configuration. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for the message format. + + + + + Output configuration. + + + + + The onsole color of the log message. + + + + + The target for the log message. + + + + + The log file path. + + + + + Foramt configuration. + + + + + The format for the debug console. + + + + + The format for the console. + + + + + The format for the log file. + + + + + Specifies the info type of the log message format. + + + + + The of the log message. + + + + + The of the log message. + + + + + The line number of the log message. + + + + + The file path of the log message. + + + + + The member name of the log message. + + + + + The source of the log message. + + + + + The message of the log message. @@ -169,29 +941,11 @@ Class used for logging - + - Format that is used when logging to the console + The logging configuration. - - - Format that is used when logging to the debug console - - - - - Format that is used when logging to a file - - - - - Initializes the logger with the default format and a file path - - - - - Log the message to the specified output @@ -203,6 +957,16 @@ + + + Log the message to the specified output + + + + + + + Log the message to the specified output if the condition is met @@ -215,11 +979,72 @@ - + + + Log the message to the specified output if the condition is met + + + + + + + + + Clears the log file + + + Specifies the severity of the log message. + + + + + Logs that contain the most detailed messages. + + + + + Logs that track the general flow of the application. + + + + + Logs that highlight an abnormal activity in the flow of execution. + + + + + Logs that highlight when the flow of execution is stopped due to a failure. + + + + + Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + + + + + Specifies the target of the log message. + + + + + Writes log to console + + + + + Writes log to debug console + + + + + Writes log to file + + Extentions @@ -243,13 +1068,34 @@ Returns or is - + Returns a random item from the specified using the class - + + + + + Reflection class + + + + + Copies all properties of an object to a new one. + + + + + + + + Copies all properties of an object to a different one. + + + + diff --git a/Stone_Red-C-Sharp-Utilities/StringExtentions.cs b/Stone_Red-C-Sharp-Utilities/StringExtentions.cs index 6f7e31a..3ee383d 100644 --- a/Stone_Red-C-Sharp-Utilities/StringExtentions.cs +++ b/Stone_Red-C-Sharp-Utilities/StringExtentions.cs @@ -1,7 +1,6 @@ using System; using System.Globalization; using System.IO; -using System.Runtime.InteropServices; using System.Text; namespace Stone_Red_Utilities.StringExtentions @@ -55,19 +54,21 @@ namespace Stone_Red_Utilities.StringExtentions char[] invalidChars = Path.GetInvalidFileNameChars(); if (!allowSpaces) + { str = str.Replace(" ", string.Empty); + } - foreach (var item in invalidChars) + foreach (char item in invalidChars) { str = str.Replace(item.ToString(), string.Empty); } - var normalizedString = str.Normalize(NormalizationForm.FormD); - var stringBuilder = new StringBuilder(); + string normalizedString = str.Normalize(NormalizationForm.FormD); + StringBuilder stringBuilder = new StringBuilder(); - foreach (var c in normalizedString) + foreach (char c in normalizedString) { - var unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c); + UnicodeCategory unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c); if (unicodeCategory != UnicodeCategory.NonSpacingMark) { stringBuilder.Append(c); @@ -88,19 +89,21 @@ namespace Stone_Red_Utilities.StringExtentions char[] invalidChars = Path.GetInvalidPathChars(); if (!allowSpaces) + { str = str.Replace(" ", string.Empty); + } - foreach (var item in invalidChars) + foreach (char item in invalidChars) { str = str.Replace(item.ToString(), string.Empty); } - var normalizedString = str.Normalize(NormalizationForm.FormD); - var stringBuilder = new StringBuilder(); + string normalizedString = str.Normalize(NormalizationForm.FormD); + StringBuilder stringBuilder = new StringBuilder(); - foreach (var c in normalizedString) + foreach (char c in normalizedString) { - var unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c); + UnicodeCategory unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c); if (unicodeCategory != UnicodeCategory.NonSpacingMark) { stringBuilder.Append(c); @@ -119,7 +122,9 @@ namespace Stone_Red_Utilities.StringExtentions public static string Truncate(this string str, int length) { if (str.Length > length && length > 0) + { return str.Substring(0, length); + } return str; } @@ -134,6 +139,7 @@ namespace Stone_Red_Utilities.StringExtentions public static string Truncate(this string str, int length, bool ellipsis) { if (str.Length > length && length > 0) + { if (ellipsis) { return $"{str.Substring(0, length - 3)}..."; @@ -142,6 +148,7 @@ namespace Stone_Red_Utilities.StringExtentions { return str.Substring(0, length); } + } return str; } @@ -154,9 +161,13 @@ namespace Stone_Red_Utilities.StringExtentions public static string CorrectNewLine(this string str) { if (Environment.OSVersion.Platform == PlatformID.Unix) + { str = str.Replace("\r\n", "\n"); + } else + { str = str.Replace("\n", "\r\n"); //Ik that this can produce wrong results + } return str; } @@ -172,7 +183,9 @@ namespace Stone_Red_Utilities.StringExtentions foreach (char c in str) { if (!char.IsWhiteSpace(c)) + { result.Append(c); + } } return result.ToString(); } diff --git a/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.deps.json b/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.deps.json index 1a7d0df..d47b629 100644 --- a/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.deps.json +++ b/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.deps.json @@ -7,18 +7,29 @@ "targets": { ".NETStandard,Version=v2.1": {}, ".NETStandard,Version=v2.1/": { - "Stone_Red-C-Sharp-Utilities/1.0.2.0": { + "Stone_Red-C-Sharp-Utilities/1.0.3.0": { + "dependencies": { + "Vsxmd": "1.4.5" + }, "runtime": { "Stone_Red-C-Sharp-Utilities.dll": {} } - } + }, + "Vsxmd/1.4.5": {} } }, "libraries": { - "Stone_Red-C-Sharp-Utilities/1.0.2.0": { + "Stone_Red-C-Sharp-Utilities/1.0.3.0": { "type": "project", "serviceable": false, "sha512": "" + }, + "Vsxmd/1.4.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mvTZKIhKUFvcjYv/p9dxgSFHrAlNFIemT3ai1XAFV4yJYGu/6e73NgzfHwhDi0QevuYURVdd+p088CG6KQFENg==", + "path": "vsxmd/1.4.5", + "hashPath": "vsxmd.1.4.5.nupkg.sha512" } } } \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll b/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll index 79a68b3..fb66727 100644 Binary files a/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll and b/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll differ diff --git a/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb b/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb index 543c518..8801e92 100644 Binary files a/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb and b/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.xml b/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.xml index d73db80..c9d38f6 100644 --- a/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.xml +++ b/Stone_Red-C-Sharp-Utilities/bin/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.xml @@ -71,7 +71,7 @@ Prints all items of an - + @@ -109,59 +109,831 @@ - + - Specifies the severity of the log target. + Represents a rectangle - + - Writes log to console + The length of the - + - Writes log to debug console + The width of the - + - Writes log to file + The diagonal of the - + - Writes log to console debug console and file + The area of the - + - Specifies the severity of the log message. + The perimeter of the - + - Logs that contain the most detailed messages. + Creates a new rectangle instance + + + + + + + DecimalFluent class - + - Logs that track the general flow of the application. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DoubleFluent class - + - Logs that highlight an abnormal activity in the flow of execution. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that highlight when the flow of execution is stopped due to a failure. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + FloatFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Logging configuration. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for the message format. + + + + + Output configuration. + + + + + The onsole color of the log message. + + + + + The target for the log message. + + + + + The log file path. + + + + + Foramt configuration. + + + + + The format for the debug console. + + + + + The format for the console. + + + + + The format for the log file. + + + + + Specifies the info type of the log message format. + + + + + The of the log message. + + + + + The of the log message. + + + + + The line number of the log message. + + + + + The file path of the log message. + + + + + The member name of the log message. + + + + + The source of the log message. + + + + + The message of the log message. @@ -169,29 +941,11 @@ Class used for logging - + - Format that is used when logging to the console + The logging configuration. - - - Format that is used when logging to the debug console - - - - - Format that is used when logging to a file - - - - - Initializes the logger with the default format and a file path - - - - - Log the message to the specified output @@ -203,6 +957,16 @@ + + + Log the message to the specified output + + + + + + + Log the message to the specified output if the condition is met @@ -215,11 +979,72 @@ - + + + Log the message to the specified output if the condition is met + + + + + + + + + Clears the log file + + + Specifies the severity of the log message. + + + + + Logs that contain the most detailed messages. + + + + + Logs that track the general flow of the application. + + + + + Logs that highlight an abnormal activity in the flow of execution. + + + + + Logs that highlight when the flow of execution is stopped due to a failure. + + + + + Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + + + + + Specifies the target of the log message. + + + + + Writes log to console + + + + + Writes log to debug console + + + + + Writes log to file + + Extentions @@ -243,13 +1068,34 @@ Returns or is - + Returns a random item from the specified using the class - + + + + + Reflection class + + + + + Copies all properties of an object to a new one. + + + + + + + + Copies all properties of an object to a different one. + + + + diff --git a/Stone_Red-C-Sharp-Utilities/bin/Release/Stone_Red-C-Sharp-Utilities.1.0.2.1.nupkg b/Stone_Red-C-Sharp-Utilities/bin/Release/Stone_Red-C-Sharp-Utilities.1.0.2.1.nupkg deleted file mode 100644 index 98f08fa..0000000 Binary files a/Stone_Red-C-Sharp-Utilities/bin/Release/Stone_Red-C-Sharp-Utilities.1.0.2.1.nupkg and /dev/null differ diff --git a/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.deps.json b/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.deps.json index f3dfc19..8c34003 100644 --- a/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.deps.json +++ b/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.deps.json @@ -7,18 +7,29 @@ "targets": { ".NETStandard,Version=v2.1": {}, ".NETStandard,Version=v2.1/": { - "Stone_Red-C-Sharp-Utilities/1.0.2.1": { + "Stone_Red-C-Sharp-Utilities/1.0.3.1": { + "dependencies": { + "Vsxmd": "1.4.5" + }, "runtime": { "Stone_Red-C-Sharp-Utilities.dll": {} } - } + }, + "Vsxmd/1.4.5": {} } }, "libraries": { - "Stone_Red-C-Sharp-Utilities/1.0.2.1": { + "Stone_Red-C-Sharp-Utilities/1.0.3.1": { "type": "project", "serviceable": false, "sha512": "" + }, + "Vsxmd/1.4.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mvTZKIhKUFvcjYv/p9dxgSFHrAlNFIemT3ai1XAFV4yJYGu/6e73NgzfHwhDi0QevuYURVdd+p088CG6KQFENg==", + "path": "vsxmd/1.4.5", + "hashPath": "vsxmd.1.4.5.nupkg.sha512" } } } \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll b/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll index 5a51340..486c934 100644 Binary files a/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll and b/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll differ diff --git a/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb b/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb index ffba046..c5fbffd 100644 Binary files a/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb and b/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.xml b/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.xml index 4dd1b3f..c9d38f6 100644 --- a/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.xml +++ b/Stone_Red-C-Sharp-Utilities/bin/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.xml @@ -109,59 +109,831 @@ - + - Specifies the severity of the log target. + Represents a rectangle - + - Writes log to console + The length of the - + - Writes log to debug console + The width of the - + - Writes log to file + The diagonal of the - + - Writes log to console debug console and file + The area of the - + - Specifies the severity of the log message. + The perimeter of the - + - Logs that contain the most detailed messages. + Creates a new rectangle instance + + + + + + + DecimalFluent class - + - Logs that track the general flow of the application. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DoubleFluent class - + - Logs that highlight an abnormal activity in the flow of execution. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that highlight when the flow of execution is stopped due to a failure. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class - + - Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + IntegerFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + FloatFluent class + + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Converts number to + + + Number as + + + + Adds the two nums + + + + + + + + Subtracts the two nums + + + + + + + + Multiplys the two nums + + + + + + + + Divides the two nums + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Logging configuration. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for messages. + + + + + The configuration for the message format. + + + + + Output configuration. + + + + + The onsole color of the log message. + + + + + The target for the log message. + + + + + The log file path. + + + + + Foramt configuration. + + + + + The format for the debug console. + + + + + The format for the console. + + + + + The format for the log file. + + + + + Specifies the info type of the log message format. + + + + + The of the log message. + + + + + The of the log message. + + + + + The line number of the log message. + + + + + The file path of the log message. + + + + + The member name of the log message. + + + + + The source of the log message. + + + + + The message of the log message. @@ -169,29 +941,11 @@ Class used for logging - + - Format that is used when logging to the console + The logging configuration. - - - Format that is used when logging to the debug console - - - - - Format that is used when logging to a file - - - - - Initializes the logger with the default format and a file path - - - - - Log the message to the specified output @@ -203,6 +957,16 @@ + + + Log the message to the specified output + + + + + + + Log the message to the specified output if the condition is met @@ -215,11 +979,72 @@ - + + + Log the message to the specified output if the condition is met + + + + + + + + + Clears the log file + + + Specifies the severity of the log message. + + + + + Logs that contain the most detailed messages. + + + + + Logs that track the general flow of the application. + + + + + Logs that highlight an abnormal activity in the flow of execution. + + + + + Logs that highlight when the flow of execution is stopped due to a failure. + + + + + Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required. + + + + + Specifies the target of the log message. + + + + + Writes log to console + + + + + Writes log to debug console + + + + + Writes log to file + + Extentions @@ -243,13 +1068,34 @@ Returns or is - + Returns a random item from the specified using the class - + + + + + Reflection class + + + + + Copies all properties of an object to a new one. + + + + + + + + Copies all properties of an object to a different one. + + + + diff --git a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs index f7edad1..8e771cf 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs +++ b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -14,13 +14,13 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyDescriptionAttribute("Adds useful methods")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.2.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.2.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.3.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.3.0")] [assembly: System.Reflection.AssemblyProductAttribute("Stone_Red-C-Sharp-Utilities")] [assembly: System.Reflection.AssemblyTitleAttribute("Stone_Red-C-Sharp-Utilities")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.2.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.3.0")] [assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Stone-Red-Code/Stone_Red-C-Sharp-Utilities")] [assembly: System.Resources.NeutralResourcesLanguageAttribute("en")] -// Von der MSBuild WriteCodeFragment-Klasse generiert. +// Generated by the MSBuild WriteCodeFragment class. diff --git a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache index a76f895..06fd067 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache +++ b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache @@ -1 +1 @@ -ea6ef826f39150eace08005921640b734848a705 +d764562853b5ba354fbea393b129e90e5ee79585 diff --git a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.assets.cache b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.assets.cache index 0b26e0c..0de7166 100644 Binary files a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.assets.cache and b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.assets.cache differ diff --git a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache index 7b46bbb..50cf528 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache +++ b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -6deaaecbe153b73cd69e5aef5c8f7411fc6a1d64 +e212c174a1e5a595b04913b341fd229c2266267c diff --git a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.FileListAbsolute.txt b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.FileListAbsolute.txt index 960ac7d..e87bda6 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.FileListAbsolute.txt +++ b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.FileListAbsolute.txt @@ -8,3 +8,14 @@ C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red- C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.pdb C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\bin\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.xml C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.csprojAssemblyReference.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\bin\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.deps.json +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\bin\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\bin\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\bin\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.xml +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Debug\netstandard2.1\Stone_Red-C-Sharp-Utilities.csproj.AssemblyReference.cache diff --git a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll index 79a68b3..fb66727 100644 Binary files a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll and b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll differ diff --git a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb index 543c518..8801e92 100644 Binary files a/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb and b/Stone_Red-C-Sharp-Utilities/obj/Debug/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities/obj/Release/Stone_Red-C-Sharp-Utilities.1.0.2.1.nuspec b/Stone_Red-C-Sharp-Utilities/obj/Release/Stone_Red-C-Sharp-Utilities.1.0.2.1.nuspec index f25ee07..2b9006e 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Release/Stone_Red-C-Sharp-Utilities.1.0.2.1.nuspec +++ b/Stone_Red-C-Sharp-Utilities/obj/Release/Stone_Red-C-Sharp-Utilities.1.0.2.1.nuspec @@ -4,7 +4,6 @@ Stone_Red-C-Sharp-Utilities 1.0.2.1 Stone_Red - false LICENSE https://aka.ms/deprecateLicenseUrl Adds useful methods @@ -15,8 +14,8 @@ - - - + + + \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs index bdc9d8c..238c870 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs +++ b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -14,13 +14,13 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] [assembly: System.Reflection.AssemblyDescriptionAttribute("Adds useful methods")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.2.1")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.2.1")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.3.1")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.3.1")] [assembly: System.Reflection.AssemblyProductAttribute("Stone_Red-C-Sharp-Utilities")] [assembly: System.Reflection.AssemblyTitleAttribute("Stone_Red-C-Sharp-Utilities")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.2.1")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.3.1")] [assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Stone-Red-Code/Stone_Red-C-Sharp-Utilities")] [assembly: System.Resources.NeutralResourcesLanguageAttribute("en")] -// Von der MSBuild WriteCodeFragment-Klasse generiert. +// Generated by the MSBuild WriteCodeFragment class. diff --git a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache index e70912f..27ad47c 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache +++ b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache @@ -1 +1 @@ -7050d59067f2c4d7fb2c393d24fc7d30560227c7 +d91dda1234dcb8f3cb5efb6b99052d23406ecd49 diff --git a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.assets.cache b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.assets.cache index dde9447..222f053 100644 Binary files a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.assets.cache and b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.assets.cache differ diff --git a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache index 44be088..64a62aa 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache +++ b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -f0f0f7765de7b51881bd79150dfdfa528122c41c +51e61123768d6c5b1a0a6d92b017f369b83c2cff diff --git a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.FileListAbsolute.txt b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.FileListAbsolute.txt index 4cbd3f0..e9aff31 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.FileListAbsolute.txt +++ b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.csproj.FileListAbsolute.txt @@ -8,3 +8,14 @@ C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red- C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.dll C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.pdb C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.csprojAssemblyReference.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\bin\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.deps.json +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\bin\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\bin\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\bin\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.xml +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.AssemblyInfoInputs.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.AssemblyInfo.cs +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.csproj.CoreCompileInputs.cache +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.dll +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.pdb +C:\Users\David\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities\obj\Release\netstandard2.1\Stone_Red-C-Sharp-Utilities.csproj.AssemblyReference.cache diff --git a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll index 5a51340..486c934 100644 Binary files a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll and b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll differ diff --git a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb index ffba046..c5fbffd 100644 Binary files a/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb and b/Stone_Red-C-Sharp-Utilities/obj/Release/netstandard2.1/Stone_Red-C-Sharp-Utilities.pdb differ diff --git a/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.dgspec.json b/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.dgspec.json index df94742..81055d7 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.dgspec.json +++ b/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.dgspec.json @@ -1,33 +1,32 @@ { "format": 1, "restore": { - "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": {} + "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": {} }, "projects": { - "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": { - "version": "1.0.2.1", + "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj": { + "version": "1.0.3.1", "restore": { - "projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", + "projectUniqueName": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", "projectName": "Stone_Red-C-Sharp-Utilities", - "projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", + "projectPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", "packagesPath": "C:\\Users\\David\\.nuget\\packages\\", - "outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\obj\\", + "outputPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", - "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" ], "configFilePaths": [ "C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" ], "originalTargetFrameworks": [ "netstandard2.1" ], "sources": { "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {}, "https://api.nuget.org/v3/index.json": {} }, "frameworks": { @@ -45,6 +44,14 @@ "frameworks": { "netstandard2.1": { "targetAlias": "netstandard2.1", + "dependencies": { + "Vsxmd": { + "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", + "suppressParent": "All", + "target": "Package", + "version": "[1.4.5, )" + } + }, "imports": [ "net461", "net462", @@ -60,7 +67,7 @@ "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.401\\RuntimeIdentifierGraph.json" } } } diff --git a/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.g.props b/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.g.props index 84dcedc..7099cba 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.g.props +++ b/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.g.props @@ -5,16 +5,18 @@ NuGet $(MSBuildThisFileDirectory)project.assets.json $(UserProfile)\.nuget\packages\ - C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\ + C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages PackageReference - 5.9.1 + 5.11.0 - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + C:\Users\David\.nuget\packages\vsxmd\1.4.5 + \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.g.targets b/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.g.targets index 53cfaa1..6b9817e 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.g.targets +++ b/Stone_Red-C-Sharp-Utilities/obj/Stone_Red-C-Sharp-Utilities.csproj.nuget.g.targets @@ -3,4 +3,7 @@ $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + \ No newline at end of file diff --git a/Stone_Red-C-Sharp-Utilities/obj/project.assets.json b/Stone_Red-C-Sharp-Utilities/obj/project.assets.json index 64854a6..259c15b 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/project.assets.json +++ b/Stone_Red-C-Sharp-Utilities/obj/project.assets.json @@ -1,41 +1,68 @@ { "version": 3, "targets": { - ".NETStandard,Version=v2.1": {} + ".NETStandard,Version=v2.1": { + "Vsxmd/1.4.5": { + "type": "package", + "build": { + "build/Vsxmd.targets": {} + } + } + } + }, + "libraries": { + "Vsxmd/1.4.5": { + "sha512": "mvTZKIhKUFvcjYv/p9dxgSFHrAlNFIemT3ai1XAFV4yJYGu/6e73NgzfHwhDi0QevuYURVdd+p088CG6KQFENg==", + "type": "package", + "path": "vsxmd/1.4.5", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE", + "build/Vsxmd.targets", + "tools/linux-musl-x64/Vsxmd", + "tools/linux-x64/Vsxmd", + "tools/osx-x64/Vsxmd", + "tools/win-x64/Vsxmd.exe", + "tools/win-x86/Vsxmd.exe", + "vsxmd.1.4.5.nupkg.sha512", + "vsxmd.nuspec" + ] + } }, - "libraries": {}, "projectFileDependencyGroups": { - ".NETStandard,Version=v2.1": [] + ".NETStandard,Version=v2.1": [ + "Vsxmd >= 1.4.5" + ] }, "packageFolders": { "C:\\Users\\David\\.nuget\\packages\\": {}, - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}, - "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {} + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} }, "project": { - "version": "1.0.2.1", + "version": "1.0.3.1", "restore": { - "projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", + "projectUniqueName": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", "projectName": "Stone_Red-C-Sharp-Utilities", - "projectPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", + "projectPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", "packagesPath": "C:\\Users\\David\\.nuget\\packages\\", - "outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\obj\\", + "outputPath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ - "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages", - "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" ], "configFilePaths": [ "C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", - "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" ], "originalTargetFrameworks": [ "netstandard2.1" ], "sources": { "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {}, "https://api.nuget.org/v3/index.json": {} }, "frameworks": { @@ -53,6 +80,14 @@ "frameworks": { "netstandard2.1": { "targetAlias": "netstandard2.1", + "dependencies": { + "Vsxmd": { + "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", + "suppressParent": "All", + "target": "Package", + "version": "[1.4.5, )" + } + }, "imports": [ "net461", "net462", @@ -68,7 +103,7 @@ "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.401\\RuntimeIdentifierGraph.json" } } } diff --git a/Stone_Red-C-Sharp-Utilities/obj/project.nuget.cache b/Stone_Red-C-Sharp-Utilities/obj/project.nuget.cache index 8a6e131..afb8b04 100644 --- a/Stone_Red-C-Sharp-Utilities/obj/project.nuget.cache +++ b/Stone_Red-C-Sharp-Utilities/obj/project.nuget.cache @@ -1,8 +1,10 @@ { "version": 2, - "dgSpecHash": "p4c3IZ9yAUJ67kieuETabF5CDiZOQrx5HZrwcxLn1ewQ4upa2wfnGjETbLHe0eiwv/Y/p0wbkqpAYMCLl3qfWA==", + "dgSpecHash": "szJPtVin5IzkXVU9ObH6EXYb2PHQ5ZOfTN/fz6Vsz068SnBXJvLOMYWPHTw47eLiq1vQxy3andOX2PcxdtU8Uw==", "success": true, - "projectFilePath": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", - "expectedPackageFiles": [], + "projectFilePath": "C:\\Users\\David\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj", + "expectedPackageFiles": [ + "C:\\Users\\David\\.nuget\\packages\\vsxmd\\1.4.5\\vsxmd.1.4.5.nupkg.sha512" + ], "logs": [] } \ No newline at end of file