Stone_Red-C-Sharp-Utilities
Extentions
Sets value to true if input is true. If input is false the value will not change.
Sets value to false if input is false. If input is true the value will not change.
Converts bool to int.
Converts int to bool.
Table Style
The default representaion of the table
The minimal representation of the table
The alternative representaion of the table
The list representaion of the table
and Extentions
Prints all items of an
Creates and prints table from 2D array
Extentions
Writes the text representation of the specified object to the standard output stream.
Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.
Suspends execution of the current method until the user presses a key
Specifies the severity of the log target.
Writes log to console
Writes log to debug console
Writes log to file
Writes log to console debug console and file
Specifies the severity of the log message.
Logs that contain the most detailed messages.
Logs that track the general flow of the application.
Logs that highlight an abnormal activity in the flow of execution.
Logs that highlight when the flow of execution is stopped due to a failure.
Logs that contain the most severe level of error. This type of error indicate that immediate attention may be required.
Class used for logging
Format that is used when logging to the console
Format that is used when logging to the debug console
Format that is used when logging to a file
Initializes the logger with the default format and a file path
Log the message to the specified output
Log the message to the specified output if the condition is met
Clears the log file
Extentions
Returns an random item from the specified using the class
Returns a random item from the specified
is
Returns a random using the class
Returns or
is
Returns a random item from the specified using the class
Extentions
Determines whether this instance and another specified object have the same value regardless of upper and lower case.
Determines whether this instance and another specified object have the same value regardless of spaces.
Determines whether this instance and another specified object have the same value regardless of upper and lower case and spaces.
Removes all invalid chars from the specified
Removes all invalid chars from the specified
Truncates a to the specified length.
Truncates a to the specified length.
Uses the correct newline defined for this environment.
Revoves all whitespaces from the specified
Reverses the specified