mirror of
https://github.com/Stone-Red-Code/Stone_Red-C-Sharp-Utilities.git
synced 2026-09-07 17:05:59 +02:00
Update README.md
This commit is contained in:
@@ -9,6 +9,7 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
### Stone_Red_Utilities.ArrListExtentions
|
### Stone_Red_Utilities.ArrListExtentions
|
||||||
#### Methods:
|
#### Methods:
|
||||||
* Print
|
* Print
|
||||||
|
* Description: Prints items of array not
|
||||||
* Parameters: `this Array array`, `char delimiter`, `bool printToDebugConsole`
|
* Parameters: `this Array array`, `char delimiter`, `bool printToDebugConsole`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
@@ -20,6 +21,7 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
str1; str2; str3
|
str1; str2; str3
|
||||||
```
|
```
|
||||||
* Print\<T>
|
* Print\<T>
|
||||||
|
* Description: Prints items of list
|
||||||
* Parameters: `this List<T> list`, `char delimiter`, `bool printToDebugConsole`
|
* Parameters: `this List<T> list`, `char delimiter`, `bool printToDebugConsole`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
@@ -31,6 +33,7 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
1.45; 6.24; 4.14
|
1.45; 6.24; 4.14
|
||||||
```
|
```
|
||||||
* PrintTable\<T>
|
* PrintTable\<T>
|
||||||
|
* Description: Creates and prints table from 2D array
|
||||||
* Parameters: `this T[,] array`, `TableStyle tableStyle`
|
* Parameters: `this T[,] array`, `TableStyle tableStyle`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
@@ -56,6 +59,7 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
### Stone_Red_Utilities.ColorConsole
|
### Stone_Red_Utilities.ColorConsole
|
||||||
#### Methods:
|
#### Methods:
|
||||||
* Write
|
* Write
|
||||||
|
* Description: Writes the text representation of the specified object to the standard output stream.
|
||||||
* Parameters: `object value`, `ConsoleColor color`
|
* Parameters: `object value`, `ConsoleColor color`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
@@ -67,6 +71,7 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
```
|
```
|
||||||
(Imagine that the text is actually red)
|
(Imagine that the text is actually red)
|
||||||
* WriteLine
|
* WriteLine
|
||||||
|
* Description: Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.
|
||||||
* Parameters: `object value`, `ConsoleColor color`
|
* Parameters: `object value`, `ConsoleColor color`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
@@ -82,7 +87,8 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
### Stone_Red_Utilities.BoolExtentions
|
### Stone_Red_Utilities.BoolExtentions
|
||||||
#### Methods:
|
#### Methods:
|
||||||
* OneWayTrue
|
* OneWayTrue
|
||||||
* Parameters: `this ref bool bol`, `bool bol1`
|
* Description: Sets value to true if input is true. If input is false the value will not change.
|
||||||
|
* Parameters: `this ref bool bol`, `bool input`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
bool bol = false;
|
bool bol = false;
|
||||||
@@ -103,7 +109,8 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
True
|
True
|
||||||
```
|
```
|
||||||
* OneWayFalse
|
* OneWayFalse
|
||||||
* Parameters: `this ref bool bol`, `bool bol1`
|
* Description: Sets value to false if input is false. If input is true the value will not change.
|
||||||
|
* Parameters: `this ref bool bol`, `bool input`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
bool bol = true;
|
bool bol = true;
|
||||||
@@ -126,6 +133,7 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
### Stone_Red_Utilities.StringExtentions
|
### Stone_Red_Utilities.StringExtentions
|
||||||
#### Methods:
|
#### Methods:
|
||||||
* EqualsIgnoreCase
|
* EqualsIgnoreCase
|
||||||
|
* Description: Determines whether this instance and another specified <see cref="String"/> object have the same value regardless of upper and lower case.
|
||||||
* Parameters: `this string str`, `string value`
|
* Parameters: `this string str`, `string value`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
@@ -141,6 +149,7 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
True
|
True
|
||||||
```
|
```
|
||||||
* EqualsIgnoreSpaces
|
* EqualsIgnoreSpaces
|
||||||
|
* Description: Determines whether this instance and another specified <see cref="String"/> object have the same value regardless of spaces.
|
||||||
* Parameters: `this string str`, `string value`
|
* Parameters: `this string str`, `string value`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
@@ -156,6 +165,7 @@ Currently, only guild members with administrator rights can use this bot.
|
|||||||
True
|
True
|
||||||
```
|
```
|
||||||
* EqualsIgnoreSpacesAndCase
|
* EqualsIgnoreSpacesAndCase
|
||||||
|
* Description: Determines whether this instance and another specified <see cref="String"/> object have the same value regardless of upper and lower case and spaces.
|
||||||
* Parameters: `this string str`, `string value`
|
* Parameters: `this string str`, `string value`
|
||||||
* Example usage:
|
* Example usage:
|
||||||
```cs
|
```cs
|
||||||
|
|||||||
Reference in New Issue
Block a user