ISettingsUnitRepositoryGetRecordsAsync - метод

Retrieves all settings unit records that match the specified filter.

Definition

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

Параметры

filter  SettingsUnitFilter  (Optional)
Represents a filter used to query settings units based on various properties.
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.

Заметки

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

См. также