SettingsUnitsEditorControllerGetRecord - метод

Retrieves the settings unit record by its name available for current session.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
[HttpGetAttribute("units/{unitName}/{fragmentName?}")]
[ProducesResponseTypeAttribute(200)]
[ProducesAttribute("application/json", new string[] { ... })]
public Task<ActionResult<SettingsUnitRecord>> GetRecord(
	[FromRouteAttribute] string unitName,
	[FromRouteAttribute] string? fragmentName,
	[FromQueryAttribute] 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.

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

TaskActionResultSettingsUnitRecord
Object that describes the settings unit record.

См. также