ExtensionMethods
Namespace: uMod
Assembly: uMod.Core.dll
Inheritance Object ExtensionMethods
Summary
Useful extension methods which are added to base types
Static Methods
Name | Summary |
|---|---|
Adds the specified flag to a bitwise enum | |
Pluralizes string from choice format using specified choice amount | |
Dirname ( | |
GetCustomAttribute< | |
GetCustomAttributes< | |
GetMethodsWithAttribute< | |
GetNestedAbstractionsOfInterface< | |
GetNestedInterfaces< | |
GetNestedTypeDictionaryWithAttribute< | |
GetNestedTypesOfInterface< | |
GetNestedTypesOfInterface ( | |
GetNestedTypesWithAttribute< | |
Checks if a bitwise enum has the specified flag | |
Humanize ( | |
Interpolates specified placeholder with the specified formattable value | |
Interpolate ( | |
Interpolates the specified object fields and properties | |
Checks if a bitwise enum matches the specified flag exactly | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Determine if any type is assignable | |
Generic method to determine if struct value is default | |
IsSteamId ( | |
IsSteamId ( | |
IsSteamId ( | |
NormalizePath ( | Normalize directory seperator characters |
Plaintext ( | Converts a string to plain text |
PopulateObject ( | Populate arbitrary object fields and properties with dictionary key value pairs |
Quote ( | Converts a string into a quote safe string |
QuoteSafe ( | Converts a string into a quote safe string |
Removes the specified flag from a bitwise enum | |
Sanitize ( | Converts a string into a sanitized string for string.Format |
SentenceCase ( | |
TitleCase ( | |
Titleize ( | |
ToDataFormat ( | Convert AuthDriver to data format |
ToHash ( | Convert string to hash |
Convert a list to list of specified type | |
ToObject ( | Convert dictionary to arbitrary object |
ToSentence< | Turns an array of strings into a sentence |
Convert specified object to generic type | |
Convert specified object to specified type | |
Shortens a string to the length specified |