SettingsUnitEditorWebProxyGetUnitRecordAsync - метод

Retrieves the settings unit record available for current session with specified name.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
public Task<SettingsUnitRecord> GetUnitRecordAsync(
	string unitName,
	string? fragmentName,
	bool defaults = false,
	CancellationToken cancellationToken = default
)

Параметры

unitName  String
The unique settings unit name.
fragmentName  String
The unique settings fragment name within the settings unit if specified.
defaults  Boolean  (Optional)
Indicates that the retrieved settings unit record must setup to default values.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskSettingsUnitRecord
Object that describes the settings unit record.

См. также