SettingsUnitRepositoryGetRecordsAsync - метод

Retrieves all settings unit records that match the specified category.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public Task<List<SettingsUnitRecord>> GetRecordsAsync(
	string? category = null,
	bool omitData = false,
	CancellationToken cancellationToken = default
)

Параметры

category  String  (Optional)
Path to the category separated by "/" where the settings unit is located.
The category filter includes results from its subcategories.
Can be to retrieve all records.
omitData  Boolean  (Optional)
Indicates whether the Data field will be omitted from the query and the returned record.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskListSettingsUnitRecord
Collection of filtered SettingsUnitRecord objects available to the current session.

Реализации

ISettingsUnitRepositoryGetRecordsAsync(String, Boolean, CancellationToken)

Заметки

This method performs a permissions check for the current session only if it is not an admin session.
The returned values are not normalized.

См. также