FormEditorControllerGetAsync - метод
Loads form with specified identifier.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpGetAttribute("{formId:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<FormEditorRootModel?>> GetAsync(
[FromRouteAttribute] Guid formId,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("{formId:guid}")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function GetAsync (
<FromRouteAttribute> formId As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of FormEditorRootModel))
public:
[HttpGetAttribute(L"{formId:guid}")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<FormEditorRootModel^>^>^ GetAsync(
[FromRouteAttribute] Guid formId,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("{formId:guid}")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member GetAsync :
[<FromRouteAttribute>] formId : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<FormEditorRootModel>>
- formId Guid
- Form identifier.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultFormEditorRootModel
Form root model, contains common description for form.