ProceduralPlanets
|
Utility class used to reduce repetitive code. More...
Static Public Member Functions | |
static string | ToBase64 (this string _str) |
Converts a string to Base64 (can be used as string method extension, e.g. myString.ToBase64() More... | |
static string | FromBase64 (this string _str) |
Converts a Base64 formatted string to plain text (can be used as a string method extension, e.g. myString.FromBase64) More... | |
static bool | IsBase64 (this string _base64String) |
Verifies if a string appears (not full validation) to be Base64 formatted (can be used as a string method extension, e.g. myString.IsBase64() More... | |
static string | EscapeString (this string _string) |
Escapes a string by replacing backslashes and special characters with copy/paste safe string (can be used as a string method extension, e.g. myString.EscapeString() More... | |
static int | MaxInMask (int _mask) |
Calculates the Max in Mask value (masks use power of two) More... | |
static bool | HasDuplicates< T > (this IEnumerable< T > subjects) |
Checks if a list has duplicates Reference: https://www.geekality.net/2010/01/19/how-to-check-for-duplicates/ More... | |
static bool | HasDuplicates< T > (this IEnumerable< T > subjects, IEqualityComparer< T > comparer) |
Checks if a list has duplicates More... | |
Utility class used to reduce repetitive code.
Version 1.0 - 2018 (c) Imphenzia AB - Author: Stefan Persson