public static class WebExtensions| ChangeBrightness(Color, Single) | Changes brightness of an unsigned int-stored color by percentage provided. |
| ChangeBrightness(NullableColor, Single) | Changes brightness of an unsigned int-stored color by percentage provided. |
| CreateFieldIdentifierT, TProperty | Creates a FieldIdentifier for an accessor expression. |
| DefaultYesNoDialogOptions | Default confirm dialog (yes/no) |
| GeneratePrincipal | Generates a ClaimsPrincipal with the proper ClaimsIdentity (and Claims) for a website based on a user sign-in |
| GenerateToastMessageForAction | Generates a toast message for the specified action. |
| GenerateToastMessageForFourEyesCancelled | Generates Toast message for when a four-eyes request has been denied |
| GenerateToastMessageForItemCreation | Generates Toast message for when an item has been successfully created. |
| GenerateToastMessageForItemDeletion | Generates Toast message for when an item has been successfully deleted. |
| GenerateToastMessageForItemLicenseActivated | Generates Toast message for when an item has been successfully activated. |
| GenerateToastMessageForItemLicenseExpired | Generates Toast message for when an item's license has been successfully expired. |
| GenerateToastMessageForItemLock | Generates Toast message for when an item has been successfully locked. |
| GenerateToastMessageForItemRequestConfirmed | Generates Toast message for when an item request has been successfully confirmed. |
| GenerateToastMessageForItemRevertDelete | Generates Toast message for when an item has been successfully reverted deletion. |
| GenerateToastMessageForItemUnlock | Generates Toast message for when an item has been successfully unlocked. |
| GenerateToastMessageForItemUpdated | Generates Toast message for when an item has been successfully updated. |
| GenerateToastMessageForWarning | Generates Toast message for when an item has been successfully deleted. |
| GetAccountIdFromCookie | Generates account user from ClaimsPrincipal. Note: the method assumes the user is logged in, and the cookies are present. Therefore, use this method in a try-catching block and redirect the user to the login page if the cookies aren't present. |
| GetIpAddress(HttpContext) | Gets the IP address of the user. |
| GetIpAddress(IHttpContextAccessor) | Gets the IP address of the user. |
| GetLanguageFromCookie |
Tries to get the currently set cookie language from the cookie. If none are found, we will use English ('en') instead. The method returns the two-letter ISO language code, as per the ISO 3166-1 standard. (Same as for Iso3166Country). Refer to the Glossary for ISO 3166 for more information. |
| GetWebsiteUrl | Get the website URL |
| IsDarkModeEnabled | Checks if dark mode is enabled in the cookie. Default: |
| Lerp | Lerp two colors |
| RoleLabel | Retrieves readable string for RoleDtoid. If the role wasn't found, a localized "NotFound" string is returned. |
| SetSettingsCookies | Sets settings cookies based on a settings model |
| SetupFailureHandler | Sets up a singleton implementation for the FailureHandler |
| ToCssRgba(Color, Single) | Converts unsigned int color value to CSS rgb() string |
| ToCssRgba(NullableColor, Single) | Converts unsigned int color value to CSS rgb() string |