ISettingsUnitRepositoryTryGetRecordDataAsync - метод

Attempts to retrieve the data content of a settings unit record by its unique identifier.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
Task<(bool IsExists, Dictionary<string?, Object> Data)> TryGetRecordDataAsync(
	Guid id,
	bool checkPermissions = false,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
The unique identifier of the settings unit record.
checkPermissions  Boolean  (Optional)
Performs a permissions check for the current session only if it is not an admin session.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskValueTupleBoolean, DictionaryString, Object
A tuple containing a boolean flag indicating whether the record exists, and the settings unit data model that stores configuration values of the specified record if found or .

См. также