ISettingsUnitEditorServiceResetUnitRecordsAsync - метод

Resets a collection of existing settings unit records available for current session with specified category.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
C#
Task ResetUnitRecordsAsync(
	string category,
	bool nested,
	IValidationResultBuilder validationResult,
	CancellationToken cancellationToken = default
)

Параметры

category  String
Path to the category where the settings unit is located. The value must satisfy the CategoryPattern pattern.
The "/" symbol is used to separate categories:
  • Categorycategory
  • Subcategorycategory/subcategory
nested  Boolean
Specifies that units in nested categories will also be reset.
validationResult  IValidationResultBuilder
Объект, выполняющий построение результата валидации.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

Task
Represents an asynchronous operation.

См. также