Added random class

Added random class, new string
extension methods and updated the XAML documentation.
This commit is contained in:
Stone-Red-Code
2021-05-10 17:23:47 +02:00
parent ad540a5a39
commit 38d113c361
96 changed files with 1817 additions and 283 deletions
Binary file not shown.
+103 -20
View File
@@ -18,13 +18,13 @@
## Namespaces
### Stone_Red_Utilities.ArrListExtentions
### Stone_Red_Utilities.CollectionExtentions
#### Methods
* Print
* Description: Prints items of array
* Parameters: `this Array array`, `char delimiter`, `bool printToDebugConsole`
* Print\<T>
* Description: Prints items of an IEnumerable\<T>
* Parameters: `this IEnumerable<T> collection`, `char delimiter`, `bool printToDebugConsole`
* Example usage:
```cs
@@ -38,22 +38,6 @@
str1; str2; str3
```
* Print\<T>
* Description: Prints items of list
* Parameters: `this List<T> list`, `char delimiter`, `bool printToDebugConsole`
* Example usage:
```cs
List<double> yourList = new() { 1.45, 6.24, 4.14 };
yourList.Print(';');
```
* Output:
```text
1.45; 6.24; 4.14
```
* PrintTable\<T>
* Description: Creates and prints table from 2D array
* Parameters: `this T[,] array`, `TableStyle tableStyle`
@@ -320,6 +304,105 @@
C://good/path
```
* RemoveWhitespaces
* Description: Revoves all whitespaces from the specified string
* Parameters: `this string str`
* Example usage:
```cs
string str = "a b c";
string result = str.RemoveWhitespaces();
Console.WriteLine(result);
```
* Output:
```text
abc
```
* Reverse
* Description: Reverses the specified string
* Parameters: `this string str`
* Example usage:
```cs
string str = "em esrever";
Console.WriteLine(str.Reverse());
```
* Output:
```text
reverse me
```
### Stone_Red_Utilities.RandomExtentions
#### Methods
* NextItem
* Description: Returns an random item from the specified collection using the Random class
* Parameters: `this Random random`, `IEnumerable<T> collection`
* Example usage:
```cs
string[] arr = { "test1", "test2", "test3" };
Random rnd = new Random();
string randomItem = rnd.NextItem(arr);
Console.WriteLine(randomItem);
```
* Output (Will be random every time):
```text
test2
```
* NextBool
* Description: Returns a random bool using the "Random" class
* Parameters: `this Random random`, `IEnumerable<T> collection`
* Example usage:
```cs
string[] arr = { "test1", "test2", "test3" };
Random rnd = new Random();
string randomItem = rnd.NextItem(arr);
Console.WriteLine(randomItem);
```
* Output (Will be random every time):
```text
test2
```
* NextEnum\<T>
* Description: Returns a random bool using the "Random" class
* Parameters: `this Random random`, `IEnumerable<T> collection`
* Example usage:
```cs
private enum MyEnum
{
a,
b,
c
}
...
Random rnd = new Random();
MyEnum randomItem = rnd.NextEnum(new MyEnum());
Console.WriteLine(randomItem);
```
* Output (Will be random every time):
```text
c
```
### Stone_Red_Utilities.Logging
#### Constructor
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Stone_Red_Utilities.RandomExtentions;
namespace Stone_Red_C_Sharp_Utilities_Test
{
internal class Program
{
private enum MyEnum
{
a,
b,
c
}
private static void Main()
{
Random rnd = new Random();
MyEnum randomItem = rnd.NextEnum(new MyEnum());
Console.WriteLine(randomItem);
}
}
}
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Stone_Red_C_Sharp_Utilities_Test</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities.csproj" />
</ItemGroup>
</Project>
@@ -0,0 +1,36 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"Stone_Red-C-Sharp-Utilities-Test/1.0.0": {
"dependencies": {
"Stone_Red-C-Sharp-Utilities": "1.0.2"
},
"runtime": {
"Stone_Red-C-Sharp-Utilities-Test.dll": {}
}
},
"Stone_Red-C-Sharp-Utilities/1.0.2": {
"runtime": {
"Stone_Red-C-Sharp-Utilities.dll": {}
}
}
}
},
"libraries": {
"Stone_Red-C-Sharp-Utilities-Test/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Stone_Red-C-Sharp-Utilities/1.0.2": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
@@ -0,0 +1,10 @@
{
"runtimeOptions": {
"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"
]
}
}
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.0"
}
}
}
@@ -0,0 +1,339 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Stone_Red-C-Sharp-Utilities</name>
</assembly>
<members>
<member name="T:Stone_Red_Utilities.BoolExtentions.BoolExt">
<summary>
<see cref="T:System.Boolean"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.OneWayTrue(System.Boolean@,System.Boolean)">
<summary>
Sets value to true if input is true. If input is false the value will not change.
</summary>
<param name="bol"></param>
<param name="input"></param>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.OneWayFalse(System.Boolean@,System.Boolean)">
<summary>
Sets value to false if input is false. If input is true the value will not change.
</summary>
<param name="bol"></param>
<param name="input"></param>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.ToInt(System.Boolean)">
<summary>
Converts bool to int.
</summary>
<param name="input"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.FromInt(System.Boolean@,System.Int32)">
<summary>
Converts int to bool.
</summary>
<param name="bol"></param>
<param name="input"></param>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.TableStyle">
<summary>
Table Style
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Default">
<summary>
The default representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Minimum">
<summary>
The minimal representation of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Alternative">
<summary>
The alternative representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.List">
<summary>
The list representaion of the table
</summary>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.CollectionExt">
<summary>
<see cref="T:System.Collections.Generic.IEnumerable`1"/> and <see cref="T:System.Array"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.Print``1(System.Collections.Generic.IEnumerable{``0},System.Char,System.Boolean)">
<summary>
Prints all items of an <see cref="T:System.Collections.Generic.IEnumerable`1"/>
</summary>
<param name="list"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.PrintTable``1(``0[0:,0:],Stone_Red_Utilities.CollectionExtentions.TableStyle)">
<summary>
Creates and prints table from 2D array
</summary>
<typeparam name="T"></typeparam>
<param name="array"></param>
<param name="tableStyle"></param>
</member>
<member name="T:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt">
<summary>
<see cref="T:System.Console"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Write(System.Object,System.ConsoleColor)">
<summary>
Writes the text representation of the specified object to the standard output stream.
</summary>
<param name="value"></param>
<param name="color"></param>
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.WriteLine(System.Object,System.ConsoleColor)">
<summary>
Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.
</summary>
<param name="value"></param>
<param name="color"></param>
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Pause(System.Boolean,System.String)">
<summary>
Suspends execution of the current method until the user presses a key
</summary>
<param name="enterKeyOnly"></param>
<param name="customMessage"></param>
</member>
<member name="T:Stone_Red_Utilities.Logging.LogTarget">
<summary>
Specifies the severity of the log target.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogTarget.Console">
<summary>
Writes log to console
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogTarget.DebugConsole">
<summary>
Writes log to debug console
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogTarget.File">
<summary>
Writes log to file
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogTarget.All">
<summary>
Writes log to console debug console and file
</summary>
</member>
<member name="T:Stone_Red_Utilities.Logging.LogSeverity">
<summary>
Specifies the severity of the log message.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Debug">
<summary>
Logs that contain the most detailed messages.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Info">
<summary>
Logs that track the general flow of the application.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Warning">
<summary>
Logs that highlight an abnormal activity in the flow of execution.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Error">
<summary>
Logs that highlight when the flow of execution is stopped due to a failure.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Fatal">
<summary>
Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required.
</summary>
</member>
<member name="T:Stone_Red_Utilities.Logging.Logger">
<summary>
Class used for logging
</summary>
</member>
<member name="P:Stone_Red_Utilities.Logging.Logger.ConsoleLogFormat">
<summary>
Format that is used when logging to the console
</summary>
</member>
<member name="P:Stone_Red_Utilities.Logging.Logger.DebugConsoleLogFormat">
<summary>
Format that is used when logging to the debug console
</summary>
</member>
<member name="P:Stone_Red_Utilities.Logging.Logger.FileLogFormat">
<summary>
Format that is used when logging to a file
</summary>
</member>
<member name="M:Stone_Red_Utilities.Logging.Logger.#ctor(Stone_Red_Utilities.Logging.LogTarget,System.String,System.String)">
<summary>
Initializes the logger with the default format and a file path
</summary>
<param name="defaultFormat"></param>
<param name="logTarg"></param>
<param name="file"></param>
</member>
<member name="M:Stone_Red_Utilities.Logging.Logger.Log(System.String,System.String,Stone_Red_Utilities.Logging.LogSeverity,System.String,System.String,System.Int32)">
<summary>
Log the message to the specified output
</summary>
<param name="message"></param>
<param name="source"></param>
<param name="logSeverity"></param>
<param name="memberName"></param>
<param name="sourceFilePath"></param>
<param name="sourceLineNumber"></param>
</member>
<member name="M:Stone_Red_Utilities.Logging.Logger.LogIf(System.Boolean,System.String,System.String,Stone_Red_Utilities.Logging.LogSeverity,System.String,System.String,System.Int32)">
<summary>
Log the message to the specified output if the condition is met
</summary>
<param name="condition"></param>
<param name="message"></param>
<param name="source"></param>
<param name="logSeverity"></param>
<param name="memberName"></param>
<param name="sourceFilePath"></param>
<param name="sourceLineNumber"></param>
</member>
<member name="M:Stone_Red_Utilities.Logging.Logger.ClearLogFile">
<summary>
Clears the log file
</summary>
</member>
<member name="T:Stone_Red_Utilities.RandomExtentions.RandomExt">
<summary>
<see cref="T:System.Random"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextItem``1(System.Random,System.Collections.Generic.IEnumerable{``0})">
<summary>
Returns an random item from the specified <paramref name="collection"/> using the <see cref="T:System.Random"/> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="collection"></param>
<returns>Returns a random item from the specified <paramref name="collection"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="collection" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextBool(System.Random)">
<summary>
Returns a random <see cref="T:System.Boolean"/> using the <see cref="T:System.Random" /> class
</summary>
<param name="random"></param>
<returns>Returns <see langword="true" /> or <see langword="false"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextEnum``1(System.Random,``0)">
<summary>
Returns a random item from the specified <see cref="T:System.Enum"/> using the <see cref="T:System.Random" /> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="_"></param>
<returns></returns>
</member>
<member name="T:Stone_Red_Utilities.StringExtentions.StringExt">
<summary>
<see cref="T:System.String"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.EqualsIgnoreCase(System.String,System.String)">
<summary>
Determines whether this instance and another specified <see cref="T:System.String"/> object have the same value regardless of upper and lower case.
</summary>
<param name="value"></param>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.EqualsIgnoreSpaces(System.String,System.String)">
<summary>
Determines whether this instance and another specified <see cref="T:System.String"/> object have the same value regardless of spaces.
</summary>
<param name="value"></param>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.EqualsIgnoreSpacesAndCase(System.String,System.String)">
<summary>
Determines whether this instance and another specified <see cref="T:System.String"/> object have the same value regardless of upper and lower case and spaces.
</summary>
<param name="value"></param>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToFileName(System.String,System.Boolean)">
<summary>
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToPath(System.String,System.Boolean)">
<summary>
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32)">
<summary>
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32,System.Boolean)">
<summary>
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
<param name="ellipsis"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.CorrectNewLine(System.String)">
<summary>
Uses the correct newline <see cref="T:System.String"/> defined for this environment.
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.RemoveWhitespaces(System.String)">
<summary>
Revoves all whitespaces from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Reverse(System.String)">
<summary>
Reverses the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
</member>
</members>
</doc>
@@ -0,0 +1,36 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"Stone_Red-C-Sharp-Utilities-Test/1.0.0": {
"dependencies": {
"Stone_Red-C-Sharp-Utilities": "1.0.2"
},
"runtime": {
"Stone_Red-C-Sharp-Utilities-Test.dll": {}
}
},
"Stone_Red-C-Sharp-Utilities/1.0.2": {
"runtime": {
"Stone_Red-C-Sharp-Utilities.dll": {}
}
}
}
},
"libraries": {
"Stone_Red-C-Sharp-Utilities-Test/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Stone_Red-C-Sharp-Utilities/1.0.2": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
@@ -0,0 +1,10 @@
{
"runtimeOptions": {
"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"
]
}
}
@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.0"
}
}
}
@@ -0,0 +1,339 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Stone_Red-C-Sharp-Utilities</name>
</assembly>
<members>
<member name="T:Stone_Red_Utilities.BoolExtentions.BoolExt">
<summary>
<see cref="T:System.Boolean"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.OneWayTrue(System.Boolean@,System.Boolean)">
<summary>
Sets value to true if input is true. If input is false the value will not change.
</summary>
<param name="bol"></param>
<param name="input"></param>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.OneWayFalse(System.Boolean@,System.Boolean)">
<summary>
Sets value to false if input is false. If input is true the value will not change.
</summary>
<param name="bol"></param>
<param name="input"></param>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.ToInt(System.Boolean)">
<summary>
Converts bool to int.
</summary>
<param name="input"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.FromInt(System.Boolean@,System.Int32)">
<summary>
Converts int to bool.
</summary>
<param name="bol"></param>
<param name="input"></param>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.TableStyle">
<summary>
Table Style
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Default">
<summary>
The default representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Minimum">
<summary>
The minimal representation of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Alternative">
<summary>
The alternative representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.List">
<summary>
The list representaion of the table
</summary>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.CollectionExt">
<summary>
<see cref="T:System.Collections.Generic.IEnumerable`1"/> and <see cref="T:System.Array"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.Print``1(System.Collections.Generic.IEnumerable{``0},System.Char,System.Boolean)">
<summary>
Prints all items of an <see cref="T:System.Collections.Generic.IEnumerable`1"/>
</summary>
<param name="list"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.PrintTable``1(``0[0:,0:],Stone_Red_Utilities.CollectionExtentions.TableStyle)">
<summary>
Creates and prints table from 2D array
</summary>
<typeparam name="T"></typeparam>
<param name="array"></param>
<param name="tableStyle"></param>
</member>
<member name="T:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt">
<summary>
<see cref="T:System.Console"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Write(System.Object,System.ConsoleColor)">
<summary>
Writes the text representation of the specified object to the standard output stream.
</summary>
<param name="value"></param>
<param name="color"></param>
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.WriteLine(System.Object,System.ConsoleColor)">
<summary>
Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.
</summary>
<param name="value"></param>
<param name="color"></param>
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Pause(System.Boolean,System.String)">
<summary>
Suspends execution of the current method until the user presses a key
</summary>
<param name="enterKeyOnly"></param>
<param name="customMessage"></param>
</member>
<member name="T:Stone_Red_Utilities.Logging.LogTarget">
<summary>
Specifies the severity of the log target.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogTarget.Console">
<summary>
Writes log to console
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogTarget.DebugConsole">
<summary>
Writes log to debug console
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogTarget.File">
<summary>
Writes log to file
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogTarget.All">
<summary>
Writes log to console debug console and file
</summary>
</member>
<member name="T:Stone_Red_Utilities.Logging.LogSeverity">
<summary>
Specifies the severity of the log message.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Debug">
<summary>
Logs that contain the most detailed messages.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Info">
<summary>
Logs that track the general flow of the application.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Warning">
<summary>
Logs that highlight an abnormal activity in the flow of execution.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Error">
<summary>
Logs that highlight when the flow of execution is stopped due to a failure.
</summary>
</member>
<member name="F:Stone_Red_Utilities.Logging.LogSeverity.Fatal">
<summary>
Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required.
</summary>
</member>
<member name="T:Stone_Red_Utilities.Logging.Logger">
<summary>
Class used for logging
</summary>
</member>
<member name="P:Stone_Red_Utilities.Logging.Logger.ConsoleLogFormat">
<summary>
Format that is used when logging to the console
</summary>
</member>
<member name="P:Stone_Red_Utilities.Logging.Logger.DebugConsoleLogFormat">
<summary>
Format that is used when logging to the debug console
</summary>
</member>
<member name="P:Stone_Red_Utilities.Logging.Logger.FileLogFormat">
<summary>
Format that is used when logging to a file
</summary>
</member>
<member name="M:Stone_Red_Utilities.Logging.Logger.#ctor(Stone_Red_Utilities.Logging.LogTarget,System.String,System.String)">
<summary>
Initializes the logger with the default format and a file path
</summary>
<param name="defaultFormat"></param>
<param name="logTarg"></param>
<param name="file"></param>
</member>
<member name="M:Stone_Red_Utilities.Logging.Logger.Log(System.String,System.String,Stone_Red_Utilities.Logging.LogSeverity,System.String,System.String,System.Int32)">
<summary>
Log the message to the specified output
</summary>
<param name="message"></param>
<param name="source"></param>
<param name="logSeverity"></param>
<param name="memberName"></param>
<param name="sourceFilePath"></param>
<param name="sourceLineNumber"></param>
</member>
<member name="M:Stone_Red_Utilities.Logging.Logger.LogIf(System.Boolean,System.String,System.String,Stone_Red_Utilities.Logging.LogSeverity,System.String,System.String,System.Int32)">
<summary>
Log the message to the specified output if the condition is met
</summary>
<param name="condition"></param>
<param name="message"></param>
<param name="source"></param>
<param name="logSeverity"></param>
<param name="memberName"></param>
<param name="sourceFilePath"></param>
<param name="sourceLineNumber"></param>
</member>
<member name="M:Stone_Red_Utilities.Logging.Logger.ClearLogFile">
<summary>
Clears the log file
</summary>
</member>
<member name="T:Stone_Red_Utilities.RandomExtentions.RandomExt">
<summary>
<see cref="T:System.Random"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextItem``1(System.Random,System.Collections.Generic.IEnumerable{``0})">
<summary>
Returns an random item from the specified <paramref name="collection"/> using the <see cref="T:System.Random"/> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="collection"></param>
<returns>Returns a random item from the specified <paramref name="collection"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="collection" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextBool(System.Random)">
<summary>
Returns a random <see cref="T:System.Boolean"/> using the <see cref="T:System.Random" /> class
</summary>
<param name="random"></param>
<returns>Returns <see langword="true" /> or <see langword="false"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextEnum``1(System.Random,``0)">
<summary>
Returns a random item from the specified <see cref="T:System.Enum"/> using the <see cref="T:System.Random" /> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="_"></param>
<returns></returns>
</member>
<member name="T:Stone_Red_Utilities.StringExtentions.StringExt">
<summary>
<see cref="T:System.String"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.EqualsIgnoreCase(System.String,System.String)">
<summary>
Determines whether this instance and another specified <see cref="T:System.String"/> object have the same value regardless of upper and lower case.
</summary>
<param name="value"></param>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.EqualsIgnoreSpaces(System.String,System.String)">
<summary>
Determines whether this instance and another specified <see cref="T:System.String"/> object have the same value regardless of spaces.
</summary>
<param name="value"></param>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.EqualsIgnoreSpacesAndCase(System.String,System.String)">
<summary>
Determines whether this instance and another specified <see cref="T:System.String"/> object have the same value regardless of upper and lower case and spaces.
</summary>
<param name="value"></param>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToFileName(System.String,System.Boolean)">
<summary>
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToPath(System.String,System.Boolean)">
<summary>
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32)">
<summary>
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32,System.Boolean)">
<summary>
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
<param name="ellipsis"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.CorrectNewLine(System.String)">
<summary>
Uses the correct newline <see cref="T:System.String"/> defined for this environment.
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.RemoveWhitespaces(System.String)">
<summary>
Revoves all whitespaces from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Reverse(System.String)">
<summary>
Reverses the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
</member>
</members>
</doc>
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red-C-Sharp-Utilities-Test")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Stone_Red-C-Sharp-Utilities-Test")]
[assembly: System.Reflection.AssemblyTitleAttribute("Stone_Red-C-Sharp-Utilities-Test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.
@@ -0,0 +1 @@
42ae254ffb091349f3ca8cbbfdc4184a3296757d
@@ -0,0 +1,8 @@
is_global = true
build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
@@ -0,0 +1 @@
3e6e32b5a238cce47f7aeb7589b17b45b34cb0fa
@@ -0,0 +1,20 @@
C:\Users\David\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Debug\net5.0\Stone_Red-C-Sharp-Utilities-Test.csprojAssemblyReference.cache
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.GeneratedMSBuildEditorConfig.editorconfig
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.AssemblyInfoInputs.cache
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.AssemblyInfo.cs
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.csproj.CoreCompileInputs.cache
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.csproj.CopyComplete
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.dll
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
@@ -0,0 +1 @@
d8c70e80eb8e020766aa7f8073262ae63ee0a93c
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red-C-Sharp-Utilities-Test")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Stone_Red-C-Sharp-Utilities-Test")]
[assembly: System.Reflection.AssemblyTitleAttribute("Stone_Red-C-Sharp-Utilities-Test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.
@@ -0,0 +1 @@
554b2b887e56c429ecf52b4043aa124fe55e2b96
@@ -0,0 +1,8 @@
is_global = true
build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
@@ -0,0 +1 @@
bd88301ce8fb7aadd4b4649bbdcf209c9abd7ef1
@@ -0,0 +1,20 @@
C:\Users\David\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\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\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities-Test\obj\Release\net5.0\Stone_Red-C-Sharp-Utilities-Test.csprojAssemblyReference.cache
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.GeneratedMSBuildEditorConfig.editorconfig
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.AssemblyInfoInputs.cache
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.AssemblyInfo.cs
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.csproj.CoreCompileInputs.cache
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.csproj.CopyComplete
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.dll
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
@@ -0,0 +1 @@
d8c70e80eb8e020766aa7f8073262ae63ee0a93c
@@ -0,0 +1,132 @@
{
"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": {}
},
"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": {
"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",
"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",
"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\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
],
"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"
],
"originalTargetFrameworks": [
"net5.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"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"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.202\\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",
"restore": {
"projectUniqueName": "C:\\Users\\David\\Google Drive\\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",
"packagesPath": "C:\\Users\\David\\.nuget\\packages\\",
"outputPath": "C:\\Users\\David\\Google Drive\\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\\"
],
"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"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.202\\RuntimeIdentifierGraph.json"
}
}
}
}
}
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.9.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\David\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
</ItemGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
@@ -0,0 +1,98 @@
{
"version": 3,
"targets": {
"net5.0": {
"Stone_Red-C-Sharp-Utilities/1.0.2": {
"type": "project",
"framework": ".NETStandard,Version=v2.1",
"compile": {
"bin/placeholder/Stone_Red-C-Sharp-Utilities.dll": {}
},
"runtime": {
"bin/placeholder/Stone_Red-C-Sharp-Utilities.dll": {}
}
}
}
},
"libraries": {
"Stone_Red-C-Sharp-Utilities/1.0.2": {
"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"
}
},
"projectFileDependencyGroups": {
"net5.0": [
"Stone_Red-C-Sharp-Utilities >= 1.0.2"
]
},
"packageFolders": {
"C:\\Users\\David\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {},
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {}
},
"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",
"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",
"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\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
],
"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"
],
"originalTargetFrameworks": [
"net5.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"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"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.202\\RuntimeIdentifierGraph.json"
}
}
}
}
@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "OE733x2kCFUFigdEryLyPpVY2ngQ6/PQDu7juyoQHwLLTXM7YAGkcsOPZ/6G+ZWn2UFomAhpve/dSa8BSDzhAA==",
"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",
"expectedPackageFiles": [],
"logs": []
}
+7 -1
View File
@@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31019.35
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stone_Red-C-Sharp-Utilities", "Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities.csproj", "{6765093D-4C7B-4E55-A46C-A4621287E91D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Stone_Red-C-Sharp-Utilities", "Stone_Red-C-Sharp-Utilities\Stone_Red-C-Sharp-Utilities.csproj", "{6765093D-4C7B-4E55-A46C-A4621287E91D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stone_Red-C-Sharp-Utilities-Test", "Stone_Red-C-Sharp-Utilities-Test\Stone_Red-C-Sharp-Utilities-Test.csproj", "{673DAE9F-D54B-41AA-8B7E-F87A1D5D2F56}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -15,6 +17,10 @@ Global
{6765093D-4C7B-4E55-A46C-A4621287E91D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6765093D-4C7B-4E55-A46C-A4621287E91D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6765093D-4C7B-4E55-A46C-A4621287E91D}.Release|Any CPU.Build.0 = Release|Any CPU
{673DAE9F-D54B-41AA-8B7E-F87A1D5D2F56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{673DAE9F-D54B-41AA-8B7E-F87A1D5D2F56}.Debug|Any CPU.Build.0 = Debug|Any CPU
{673DAE9F-D54B-41AA-8B7E-F87A1D5D2F56}.Release|Any CPU.ActiveCfg = Release|Any CPU
{673DAE9F-D54B-41AA-8B7E-F87A1D5D2F56}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -1,8 +1,9 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Stone_Red_Utilities.ArrListExtentions
namespace Stone_Red_Utilities.CollectionExtentions
{
/// <summary>
/// Table Style
@@ -31,65 +32,34 @@ namespace Stone_Red_Utilities.ArrListExtentions
}
/// <summary>
/// <see cref="Array"/> and <see cref="List{T}"/> Extentions
/// <see cref="IEnumerable{T}"/> and <see cref="Array"/> Extentions
/// </summary>
public static class ArrayListExt
public static class CollectionExt
{
/// <summary>
/// Prints items of array
/// </summary>
/// <param name="array"></param>
/// <param name="delimiter"></param>
/// <param name="printToDebugConsole"></param>
public static void Print(this Array array, char delimiter = ',', bool printToDebugConsole = false)
{
int i = 0;
string split = delimiter + (delimiter == '\n' ? string.Empty : " ");
foreach (var item in array)
{
if (item is Array arr)
{
arr.Print(delimiter, printToDebugConsole);
}
else if (printToDebugConsole)
{
Debug.Write(item.ToString() + (i < array.Length - 1 ? split : string.Empty));
}
else
{
Console.Write(item.ToString() + (i < array.Length - 1 ? split : string.Empty));
}
i++;
}
}
/// <summary>
/// Prints items of list
/// Prints all items of an <see cref="IEnumerable{T}"/>
/// </summary>
/// <param name="list"></param>
/// <param name="delimiter"></param>
/// <param name="printToDebugConsole"></param>
public static void Print<T>(this List<T> list, char delimiter = ',', bool printToDebugConsole = false)
public static void Print<T>(this IEnumerable<T> collection, char delimiter = ',', bool printToDebugConsole = false)
{
int i = 0;
int length = collection.Count() - 1;
string split = delimiter + (delimiter == '\n' ? string.Empty : " ");
foreach (var item in list)
foreach (var item in collection)
{
if (item is Array arr)
if (item is IEnumerable<T> ie)
{
arr.Print(delimiter, printToDebugConsole);
}
else if (item is List<T> ls)
{
ls.Print(delimiter, printToDebugConsole);
ie.Print(delimiter, printToDebugConsole);
}
else if (printToDebugConsole)
{
Debug.Write(item.ToString() + (i < list.Count - 1 ? split : string.Empty));
Debug.Write(item.ToString() + (i < length - 1 ? split : string.Empty));
}
else
{
Console.Write(item.ToString() + (i < list.Count - 1 ? split : string.Empty));
Console.Write(item.ToString() + (i < length - 1 ? split : string.Empty));
}
i++;
}
@@ -115,6 +85,7 @@ namespace Stone_Red_Utilities.ArrListExtentions
}
PrintLine(tableStyle, itemLength, array.GetLength(1), tableStyle == TableStyle.List);
for (int i = 0; i < array.GetLength(0); i++)
{
for (int j = 0; j < array.GetLength(1); j++)
@@ -3,7 +3,7 @@
namespace Stone_Red_Utilities.ConsoleExtentions
{
/// <summary>
/// Console Extentions
/// <see cref="Console"/> Extentions
/// </summary>
public static class ConsoleExt
{
@@ -40,7 +40,7 @@ namespace Stone_Red_Utilities.ConsoleExtentions
}
/// <summary>
/// Suspends execution until the user presses a key
/// Suspends execution of the current method until the user presses a key
/// </summary>
/// <param name="enterKeyOnly"></param>
/// <param name="customMessage"></param>
@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace Stone_Red_Utilities.RandomExtentions
{
/// <summary>
/// <see cref="Random"/> Extentions
/// </summary>
public static class RandomExt
{
/// <summary>
/// Returns an random item from the specified <paramref name="collection"/> using the <see cref="Random"/> class
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="random"></param>
/// <param name="collection"></param>
/// <returns>Returns a random item from the specified <paramref name="collection"/></returns>
/// <exception cref="ArgumentNullException"><paramref name="collection" /> is <see langword="null" /></exception>
public static T NextItem<T>(this Random random, IEnumerable<T> collection)
{
if (collection is null)
{
throw new ArgumentNullException(nameof(collection));
}
T[] items = collection.ToArray();
return items[random.Next(items.Length)];
}
/// <summary>
/// Returns a random <see cref="bool"/> using the <see cref="Random" /> class
/// </summary>
/// <param name="random"></param>
/// <returns>Returns <see langword="true" /> or <see langword="false"/></returns>
/// <exception cref="ArgumentNullException"><paramref name="random" /> is <see langword="null" /></exception>
public static bool NextBool(this Random random)
{
return random.Next(2) == 0;
}
/// <summary>
/// Returns a random item from the specified <see cref="Enum"/> using the <see cref="Random" /> class
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="random"></param>
/// <param name="_"></param>
/// <returns></returns>
public static T NextEnum<T>(this Random random, T _) where T : Enum //Not the best solution but it works
{
Array arr = Enum.GetValues(typeof(T));
return (T)arr.GetValue(random.Next(arr.Length));
}
}
}
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
@@ -12,9 +12,9 @@
<NeutralLanguage>en</NeutralLanguage>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<AssemblyVersion>1.0.1.2</AssemblyVersion>
<FileVersion>1.0.1.2</FileVersion>
<Version>1.0.1.2</Version>
<AssemblyVersion>1.0.2.0</AssemblyVersion>
<FileVersion>1.0.2.0</FileVersion>
<Version>1.0.2.0</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -31,5 +31,4 @@
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>
@@ -4,60 +4,6 @@
<name>Stone_Red-C-Sharp-Utilities</name>
</assembly>
<members>
<member name="T:Stone_Red_Utilities.ArrListExtentions.TableStyle">
<summary>
Table Style
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.Default">
<summary>
The default representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.Minimum">
<summary>
The minimal representation of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.Alternative">
<summary>
The alternative representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.List">
<summary>
The list representaion of the table
</summary>
</member>
<member name="T:Stone_Red_Utilities.ArrListExtentions.ArrayListExt">
<summary>
<see cref="T:System.Array"/> and <see cref="T:System.Collections.Generic.List`1"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.ArrListExtentions.ArrayListExt.Print(System.Array,System.Char,System.Boolean)">
<summary>
Prints items of array
</summary>
<param name="array"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.ArrListExtentions.ArrayListExt.Print``1(System.Collections.Generic.List{``0},System.Char,System.Boolean)">
<summary>
Prints items of list
</summary>
<param name="list"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.ArrListExtentions.ArrayListExt.PrintTable``1(``0[0:,0:],Stone_Red_Utilities.ArrListExtentions.TableStyle)">
<summary>
Creates and prints table from 2D array
</summary>
<typeparam name="T"></typeparam>
<param name="array"></param>
<param name="tableStyle"></param>
</member>
<member name="T:Stone_Red_Utilities.BoolExtentions.BoolExt">
<summary>
<see cref="T:System.Boolean"/> Extentions
@@ -86,14 +32,60 @@
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.FromInt(System.Boolean@,System.Int32)">
<summary>
Converts bool to int.
Converts int to bool.
</summary>
<param name="bol"></param>
<param name="input"></param>
<returns></returns>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.TableStyle">
<summary>
Table Style
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Default">
<summary>
The default representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Minimum">
<summary>
The minimal representation of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Alternative">
<summary>
The alternative representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.List">
<summary>
The list representaion of the table
</summary>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.CollectionExt">
<summary>
<see cref="T:System.Collections.Generic.IEnumerable`1"/> and <see cref="T:System.Array"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.Print``1(System.Collections.Generic.IEnumerable{``0},System.Char,System.Boolean)">
<summary>
Prints all items of an <see cref="T:System.Collections.Generic.IEnumerable`1"/>
</summary>
<param name="list"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.PrintTable``1(``0[0:,0:],Stone_Red_Utilities.CollectionExtentions.TableStyle)">
<summary>
Creates and prints table from 2D array
</summary>
<typeparam name="T"></typeparam>
<param name="array"></param>
<param name="tableStyle"></param>
</member>
<member name="T:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt">
<summary>
Console Extentions
<see cref="T:System.Console"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Write(System.Object,System.ConsoleColor)">
@@ -112,7 +104,7 @@
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Pause(System.Boolean,System.String)">
<summary>
Suspends execution until the user presses a key
Suspends execution of the current method until the user presses a key
</summary>
<param name="enterKeyOnly"></param>
<param name="customMessage"></param>
@@ -228,6 +220,38 @@
Clears the log file
</summary>
</member>
<member name="T:Stone_Red_Utilities.RandomExtentions.RandomExt">
<summary>
<see cref="T:System.Random"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextItem``1(System.Random,System.Collections.Generic.IEnumerable{``0})">
<summary>
Returns an random item from the specified <paramref name="collection"/> using the <see cref="T:System.Random"/> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="collection"></param>
<returns>Returns a random item from the specified <paramref name="collection"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="collection" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextBool(System.Random)">
<summary>
Returns a random <see cref="T:System.Boolean"/> using the <see cref="T:System.Random" /> class
</summary>
<param name="random"></param>
<returns>Returns <see langword="true" /> or <see langword="false"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextEnum``1(System.Random,``0)">
<summary>
Returns a random item from the specified <see cref="T:System.Enum"/> using the <see cref="T:System.Random" /> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="_"></param>
<returns></returns>
</member>
<member name="T:Stone_Red_Utilities.StringExtentions.StringExt">
<summary>
<see cref="T:System.String"/> Extentions
@@ -259,7 +283,7 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToFileName(System.String,System.Boolean)">
<summary>
Removes all invalid chars from the specified string
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
@@ -267,7 +291,7 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToPath(System.String,System.Boolean)">
<summary>
Removes all invalid chars from the specified string
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
@@ -275,7 +299,7 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32)">
<summary>
Truncates a string to the specified length.
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
@@ -283,7 +307,7 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32,System.Boolean)">
<summary>
Truncates a string to the specified length.
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
@@ -292,7 +316,21 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.CorrectNewLine(System.String)">
<summary>
Uses the correct newline string defined for this environment.
Uses the correct newline <see cref="T:System.String"/> defined for this environment.
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.RemoveWhitespaces(System.String)">
<summary>
Revoves all whitespaces from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Reverse(System.String)">
<summary>
Reverses the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
@@ -12,7 +12,7 @@ namespace Stone_Red_Utilities.StringExtentions
public static class StringExt
{
/// <summary>
/// Determines whether this instance and another specified <see cref="String"/> object have the same value regardless of upper and lower case.
/// Determines whether this instance and another specified <see cref="string"/> object have the same value regardless of upper and lower case.
/// </summary>
/// <param name="value"></param>
/// <param name="str"></param>
@@ -23,7 +23,7 @@ namespace Stone_Red_Utilities.StringExtentions
}
/// <summary>
/// Determines whether this instance and another specified <see cref="String"/> object have the same value regardless of spaces.
/// Determines whether this instance and another specified <see cref="string"/> object have the same value regardless of spaces.
/// </summary>
/// <param name="value"></param>
/// <param name="str"></param>
@@ -34,7 +34,7 @@ namespace Stone_Red_Utilities.StringExtentions
}
/// <summary>
/// Determines whether this instance and another specified <see cref="String"/> object have the same value regardless of upper and lower case and spaces.
/// Determines whether this instance and another specified <see cref="string"/> object have the same value regardless of upper and lower case and spaces.
/// </summary>
/// <param name="value"></param>
/// <param name="str"></param>
@@ -45,7 +45,7 @@ namespace Stone_Red_Utilities.StringExtentions
}
/// <summary>
/// Removes all invalid chars from the specified string
/// Removes all invalid chars from the specified <see cref="string"/>
/// </summary>
/// <param name="str"></param>
/// <param name="allowSpaces"></param>
@@ -78,7 +78,7 @@ namespace Stone_Red_Utilities.StringExtentions
}
/// <summary>
/// Removes all invalid chars from the specified string
/// Removes all invalid chars from the specified <see cref="string"/>
/// </summary>
/// <param name="str"></param>
/// <param name="allowSpaces"></param>
@@ -111,7 +111,7 @@ namespace Stone_Red_Utilities.StringExtentions
}
/// <summary>
/// Truncates a string to the specified length.
/// Truncates a <see cref="string"/> to the specified length.
/// </summary>
/// <param name="str"></param>
/// <param name="length"></param>
@@ -125,7 +125,7 @@ namespace Stone_Red_Utilities.StringExtentions
}
/// <summary>
/// Truncates a string to the specified length.
/// Truncates a <see cref="string"/> to the specified length.
/// </summary>
/// <param name="str"></param>
/// <param name="length"></param>
@@ -147,7 +147,7 @@ namespace Stone_Red_Utilities.StringExtentions
}
/// <summary>
/// Uses the correct newline string defined for this environment.
/// Uses the correct newline <see cref="string"/> defined for this environment.
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
@@ -160,5 +160,33 @@ namespace Stone_Red_Utilities.StringExtentions
return str;
}
/// <summary>
/// Revoves all whitespaces from the specified <see cref="string"/>
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
public static string RemoveWhitespaces(this string str)
{
StringBuilder result = new StringBuilder();
foreach (char c in str)
{
if (!char.IsWhiteSpace(c))
result.Append(c);
}
return result.ToString();
}
/// <summary>
/// Reverses the specified <see cref="string"/>
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
public static string Reverse(this string str)
{
char[] array = str.ToCharArray();
Array.Reverse(array);
return new string(array);
}
}
}
@@ -7,7 +7,7 @@
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"Stone_Red-C-Sharp-Utilities/1.0.1.1": {
"Stone_Red-C-Sharp-Utilities/1.0.2.0": {
"runtime": {
"Stone_Red-C-Sharp-Utilities.dll": {}
}
@@ -15,7 +15,7 @@
}
},
"libraries": {
"Stone_Red-C-Sharp-Utilities/1.0.1.1": {
"Stone_Red-C-Sharp-Utilities/1.0.2.0": {
"type": "project",
"serviceable": false,
"sha512": ""
@@ -4,60 +4,6 @@
<name>Stone_Red-C-Sharp-Utilities</name>
</assembly>
<members>
<member name="T:Stone_Red_Utilities.ArrListExtentions.TableStyle">
<summary>
Table Style
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.Default">
<summary>
The default representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.Minimum">
<summary>
The minimal representation of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.Alternative">
<summary>
The alternative representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.List">
<summary>
The list representaion of the table
</summary>
</member>
<member name="T:Stone_Red_Utilities.ArrListExtentions.ArrayListExt">
<summary>
<see cref="T:System.Array"/> and <see cref="T:System.Collections.Generic.List`1"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.ArrListExtentions.ArrayListExt.Print(System.Array,System.Char,System.Boolean)">
<summary>
Prints items of array
</summary>
<param name="array"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.ArrListExtentions.ArrayListExt.Print``1(System.Collections.Generic.List{``0},System.Char,System.Boolean)">
<summary>
Prints items of list
</summary>
<param name="list"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.ArrListExtentions.ArrayListExt.PrintTable``1(``0[0:,0:],Stone_Red_Utilities.ArrListExtentions.TableStyle)">
<summary>
Creates and prints table from 2D array
</summary>
<typeparam name="T"></typeparam>
<param name="array"></param>
<param name="tableStyle"></param>
</member>
<member name="T:Stone_Red_Utilities.BoolExtentions.BoolExt">
<summary>
<see cref="T:System.Boolean"/> Extentions
@@ -77,9 +23,69 @@
<param name="bol"></param>
<param name="input"></param>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.ToInt(System.Boolean)">
<summary>
Converts bool to int.
</summary>
<param name="input"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.FromInt(System.Boolean@,System.Int32)">
<summary>
Converts int to bool.
</summary>
<param name="bol"></param>
<param name="input"></param>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.TableStyle">
<summary>
Table Style
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Default">
<summary>
The default representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Minimum">
<summary>
The minimal representation of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Alternative">
<summary>
The alternative representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.List">
<summary>
The list representaion of the table
</summary>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.CollectionExt">
<summary>
<see cref="T:System.Collections.Generic.IEnumerable`1"/> and <see cref="T:System.Array"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.Print``1(System.Collections.Generic.IEnumerable{``0},System.Char,System.Boolean)">
<summary>
Prints all items of an <see cref="T:System.Collections.Generic.IEnumerable`1"/>
</summary>
<param name="list"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.PrintTable``1(``0[0:,0:],Stone_Red_Utilities.CollectionExtentions.TableStyle)">
<summary>
Creates and prints table from 2D array
</summary>
<typeparam name="T"></typeparam>
<param name="array"></param>
<param name="tableStyle"></param>
</member>
<member name="T:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt">
<summary>
Console Extentions
<see cref="T:System.Console"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Write(System.Object,System.ConsoleColor)">
@@ -98,7 +104,7 @@
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Pause(System.Boolean,System.String)">
<summary>
Suspends execution until the user presses a key
Suspends execution of the current method until the user presses a key
</summary>
<param name="enterKeyOnly"></param>
<param name="customMessage"></param>
@@ -214,6 +220,38 @@
Clears the log file
</summary>
</member>
<member name="T:Stone_Red_Utilities.RandomExtentions.RandomExt">
<summary>
<see cref="T:System.Random"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextItem``1(System.Random,System.Collections.Generic.IEnumerable{``0})">
<summary>
Returns an random item from the specified <paramref name="collection"/> using the <see cref="T:System.Random"/> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="collection"></param>
<returns>Returns a random item from the specified <paramref name="collection"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="collection" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextBool(System.Random)">
<summary>
Returns a random <see cref="T:System.Boolean"/> using the <see cref="T:System.Random" /> class
</summary>
<param name="random"></param>
<returns>Returns <see langword="true" /> or <see langword="false"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextEnum``1(System.Random,``0)">
<summary>
Returns a random item from the specified <see cref="T:System.Enum"/> using the <see cref="T:System.Random" /> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="_"></param>
<returns></returns>
</member>
<member name="T:Stone_Red_Utilities.StringExtentions.StringExt">
<summary>
<see cref="T:System.String"/> Extentions
@@ -245,7 +283,15 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToFileName(System.String,System.Boolean)">
<summary>
Removes all invalid chars from file name
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToPath(System.String,System.Boolean)">
<summary>
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
@@ -253,7 +299,7 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32)">
<summary>
Truncates a string to the specified length.
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
@@ -261,12 +307,33 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32,System.Boolean)">
<summary>
Truncates a string to the specified length.
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
<param name="ellipsis"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.CorrectNewLine(System.String)">
<summary>
Uses the correct newline <see cref="T:System.String"/> defined for this environment.
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.RemoveWhitespaces(System.String)">
<summary>
Revoves all whitespaces from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Reverse(System.String)">
<summary>
Reverses the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
</member>
</members>
</doc>
@@ -7,7 +7,7 @@
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"Stone_Red-C-Sharp-Utilities/1.0.1.2": {
"Stone_Red-C-Sharp-Utilities/1.0.2.0": {
"runtime": {
"Stone_Red-C-Sharp-Utilities.dll": {}
}
@@ -15,7 +15,7 @@
}
},
"libraries": {
"Stone_Red-C-Sharp-Utilities/1.0.1.2": {
"Stone_Red-C-Sharp-Utilities/1.0.2.0": {
"type": "project",
"serviceable": false,
"sha512": ""
@@ -4,60 +4,6 @@
<name>Stone_Red-C-Sharp-Utilities</name>
</assembly>
<members>
<member name="T:Stone_Red_Utilities.ArrListExtentions.TableStyle">
<summary>
Table Style
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.Default">
<summary>
The default representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.Minimum">
<summary>
The minimal representation of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.Alternative">
<summary>
The alternative representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.ArrListExtentions.TableStyle.List">
<summary>
The list representaion of the table
</summary>
</member>
<member name="T:Stone_Red_Utilities.ArrListExtentions.ArrayListExt">
<summary>
<see cref="T:System.Array"/> and <see cref="T:System.Collections.Generic.List`1"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.ArrListExtentions.ArrayListExt.Print(System.Array,System.Char,System.Boolean)">
<summary>
Prints items of array
</summary>
<param name="array"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.ArrListExtentions.ArrayListExt.Print``1(System.Collections.Generic.List{``0},System.Char,System.Boolean)">
<summary>
Prints items of list
</summary>
<param name="list"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.ArrListExtentions.ArrayListExt.PrintTable``1(``0[0:,0:],Stone_Red_Utilities.ArrListExtentions.TableStyle)">
<summary>
Creates and prints table from 2D array
</summary>
<typeparam name="T"></typeparam>
<param name="array"></param>
<param name="tableStyle"></param>
</member>
<member name="T:Stone_Red_Utilities.BoolExtentions.BoolExt">
<summary>
<see cref="T:System.Boolean"/> Extentions
@@ -86,14 +32,60 @@
</member>
<member name="M:Stone_Red_Utilities.BoolExtentions.BoolExt.FromInt(System.Boolean@,System.Int32)">
<summary>
Converts bool to int.
Converts int to bool.
</summary>
<param name="bol"></param>
<param name="input"></param>
<returns></returns>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.TableStyle">
<summary>
Table Style
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Default">
<summary>
The default representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Minimum">
<summary>
The minimal representation of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.Alternative">
<summary>
The alternative representaion of the table
</summary>
</member>
<member name="F:Stone_Red_Utilities.CollectionExtentions.TableStyle.List">
<summary>
The list representaion of the table
</summary>
</member>
<member name="T:Stone_Red_Utilities.CollectionExtentions.CollectionExt">
<summary>
<see cref="T:System.Collections.Generic.IEnumerable`1"/> and <see cref="T:System.Array"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.Print``1(System.Collections.Generic.IEnumerable{``0},System.Char,System.Boolean)">
<summary>
Prints all items of an <see cref="T:System.Collections.Generic.IEnumerable`1"/>
</summary>
<param name="list"></param>
<param name="delimiter"></param>
<param name="printToDebugConsole"></param>
</member>
<member name="M:Stone_Red_Utilities.CollectionExtentions.CollectionExt.PrintTable``1(``0[0:,0:],Stone_Red_Utilities.CollectionExtentions.TableStyle)">
<summary>
Creates and prints table from 2D array
</summary>
<typeparam name="T"></typeparam>
<param name="array"></param>
<param name="tableStyle"></param>
</member>
<member name="T:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt">
<summary>
Console Extentions
<see cref="T:System.Console"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Write(System.Object,System.ConsoleColor)">
@@ -112,7 +104,7 @@
</member>
<member name="M:Stone_Red_Utilities.ConsoleExtentions.ConsoleExt.Pause(System.Boolean,System.String)">
<summary>
Suspends execution until the user presses a key
Suspends execution of the current method until the user presses a key
</summary>
<param name="enterKeyOnly"></param>
<param name="customMessage"></param>
@@ -228,6 +220,38 @@
Clears the log file
</summary>
</member>
<member name="T:Stone_Red_Utilities.RandomExtentions.RandomExt">
<summary>
<see cref="T:System.Random"/> Extentions
</summary>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextItem``1(System.Random,System.Collections.Generic.IEnumerable{``0})">
<summary>
Returns an random item from the specified <paramref name="collection"/> using the <see cref="T:System.Random"/> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="collection"></param>
<returns>Returns a random item from the specified <paramref name="collection"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="collection" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextBool(System.Random)">
<summary>
Returns a random <see cref="T:System.Boolean"/> using the <see cref="T:System.Random" /> class
</summary>
<param name="random"></param>
<returns>Returns <see langword="true" /> or <see langword="false"/></returns>
<exception cref="T:System.ArgumentNullException"><paramref name="random" /> is <see langword="null" /></exception>
</member>
<member name="M:Stone_Red_Utilities.RandomExtentions.RandomExt.NextEnum``1(System.Random,``0)">
<summary>
Returns a random item from the specified <see cref="T:System.Enum"/> using the <see cref="T:System.Random" /> class
</summary>
<typeparam name="T"></typeparam>
<param name="random"></param>
<param name="_"></param>
<returns></returns>
</member>
<member name="T:Stone_Red_Utilities.StringExtentions.StringExt">
<summary>
<see cref="T:System.String"/> Extentions
@@ -259,7 +283,7 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToFileName(System.String,System.Boolean)">
<summary>
Removes all invalid chars from the specified string
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
@@ -267,7 +291,7 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.ToPath(System.String,System.Boolean)">
<summary>
Removes all invalid chars from the specified string
Removes all invalid chars from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<param name="allowSpaces"></param>
@@ -275,7 +299,7 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32)">
<summary>
Truncates a string to the specified length.
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
@@ -283,7 +307,7 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Truncate(System.String,System.Int32,System.Boolean)">
<summary>
Truncates a string to the specified length.
Truncates a <see cref="T:System.String"/> to the specified length.
</summary>
<param name="str"></param>
<param name="length"></param>
@@ -292,7 +316,21 @@
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.CorrectNewLine(System.String)">
<summary>
Uses the correct newline string defined for this environment.
Uses the correct newline <see cref="T:System.String"/> defined for this environment.
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.RemoveWhitespaces(System.String)">
<summary>
Revoves all whitespaces from the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
</member>
<member name="M:Stone_Red_Utilities.StringExtentions.StringExt.Reverse(System.String)">
<summary>
Reverses the specified <see cref="T:System.String"/>
</summary>
<param name="str"></param>
<returns></returns>
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Stone_Red-C-Sharp-Utilities</id>
<version>1.0.1.2</version>
<authors>Stone_Red</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE</license>
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
<description>Adds useful methods</description>
<tags>ExtensionMethods, Methods, Extention, Console, Table, Print, C#</tags>
<repository url="https://github.com/Stone-Red-Code/Stone_Red-C-Sharp-Utilities" />
<dependencies>
<group targetFramework=".NETStandard2.1" />
</dependencies>
</metadata>
<files>
<file src="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.dll" target="lib\netstandard2.1\Stone_Red-C-Sharp-Utilities.dll" />
<file src="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" target="lib\netstandard2.1\Stone_Red-C-Sharp-Utilities.xml" />
<file src="C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\LICENSE" target="LICENSE" />
</files>
</package>
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Stone_Red-C-Sharp-Utilities</id>
<version>1.0.2</version>
<authors>Stone_Red</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE</license>
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
<description>Adds useful methods</description>
<tags>ExtensionMethods, Methods, Extention, Console, Table, Print, C#</tags>
<repository url="https://github.com/Stone-Red-Code/Stone_Red-C-Sharp-Utilities" />
<dependencies>
<group targetFramework=".NETStandard2.1" />
</dependencies>
</metadata>
<files>
<file src="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.dll" target="lib\netstandard2.1\Stone_Red-C-Sharp-Utilities.dll" />
<file src="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" target="lib\netstandard2.1\Stone_Red-C-Sharp-Utilities.xml" />
<file src="C:\Users\David\Google Drive\Programmieren\Stone_Red-C-Sharp-Utilities\LICENSE" target="LICENSE" />
</files>
</package>
@@ -14,11 +14,11 @@ 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.1.1")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.1.1")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.2.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.2.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.1.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.2.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Stone-Red-Code/Stone_Red-C-Sharp-Utilities")]
[assembly: System.Resources.NeutralResourcesLanguageAttribute("en")]
@@ -1 +1 @@
a3dcfdd1a37a276a89a7dc6e510a1e222a45e18c
ea6ef826f39150eace08005921640b734848a705
@@ -1 +1 @@
5da8ee29e757543d794f5481de018812db6a323f
6deaaecbe153b73cd69e5aef5c8f7411fc6a1d64
@@ -7,8 +7,8 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE</license>
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
<description>Adds useful extentions.</description>
<tags>Console, Table, Print</tags>
<description>Adds useful methods</description>
<tags>ExtensionMethods, Methods, Extention, Console, Table, Print, C#</tags>
<repository url="https://github.com/Stone-Red-Code/Stone_Red-C-Sharp-Utilities" />
<dependencies>
<group targetFramework=".NETStandard2.1" />
@@ -14,11 +14,11 @@ 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.1.2")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.1.2")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.2.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.2.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.1.2")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.2.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Stone-Red-Code/Stone_Red-C-Sharp-Utilities")]
[assembly: System.Resources.NeutralResourcesLanguageAttribute("en")]
@@ -1 +1 @@
79d53500d0cda912836247a99f43baf59dc39d8e
aa0cd71b478a5f28a31162c6216cbaa1e9fee208
@@ -1 +1 @@
ab7c68485a41e4caec8918d8132b9a5c789193c3
f0f0f7765de7b51881bd79150dfdfa528122c41c
@@ -5,7 +5,7 @@
},
"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.1.2",
"version": "1.0.2",
"restore": {
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj",
"projectName": "Stone_Red-C-Sharp-Utilities",
@@ -13,7 +13,7 @@
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {}
},
"project": {
"version": "1.0.1.2",
"version": "1.0.2",
"restore": {
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities\\Stone_Red-C-Sharp-Utilities.csproj",
"projectName": "Stone_Red-C-Sharp-Utilities",
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "W2mmaVJ9QVB/ybXqInWb/ntCpfIusOdp99Jf4Ov7013vN7WF0Qb5g4C67ENTi26kCRu7OFGJrygEmUHgRu1v0Q==",
"dgSpecHash": "oqE7ytXXja7A4X19FPYpIr24r8pTIwmMGySP3aKQeXhtnb8nPOvjS80bdEo7RyZVR7zhzO5YS/7coM1Q8pxexA==",
"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": [],