DashboardHelper - класс

Provides utility methods for dashboards and widgets.

Definition

Пространство имён: Tessa.Dashboards
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public static class DashboardHelper
Inheritance
Object    DashboardHelper

Методы

AddValidationResultError Adds an error to the validation result for the specified object. If a validation key or error message is not provided, defaults are used.
GetOrAddValueTKey, TValue Retrieves a value from a dictionary by its key, or adds the key with a new default value if it does not exist.
GetValidationException(ValidationResult, NullableHttpStatusCode) Constructs a validation exception using an already built validation result and an optional HTTP status code.
GetValidationException(Object, IValidationResultBuilder, ValidationKey, String, NullableHttpStatusCode) Constructs a validation exception with an optional HTTP status code. The exception is created using the specified validation result and error information.
TryExtractDashboardToken Attempts to decode a dashboard token, returning a boolean indicating success, and providing the decoded token if successful.

См. также