FormEditorControllerGetStateAsync - метод
Loads form's state with specified name.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpGetAttribute("load-state")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<FormEditorFormStateModel?>> GetStateAsync(
[FromQueryAttribute(Name = "formId")] Guid formId,
[FromQueryAttribute(Name = "stateName")] string stateName,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("load-state")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function GetStateAsync (
<FromQueryAttribute(Name := "formId")> formId As Guid,
<FromQueryAttribute(Name := "stateName")> stateName As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of FormEditorFormStateModel))
public:
[HttpGetAttribute(L"load-state")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<FormEditorFormStateModel^>^>^ GetStateAsync(
[FromQueryAttribute(Name = L"formId")] Guid formId,
[FromQueryAttribute(Name = L"stateName")] String^ stateName,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("load-state")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member GetStateAsync :
[<FromQueryAttribute(Name = "formId")>] formId : Guid *
[<FromQueryAttribute(Name = "stateName")>] stateName : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<FormEditorFormStateModel>>
- formId Guid
- Form identifier.
- stateName String
- State's name.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultFormEditorFormStateModel
Form state model.