SchemeControllerGetFunction - метод
Get function by identifier. Returns 204 (No Content) if not found.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute("functions/{id:guid}")]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public ValueTask<ActionResult<PlainSchemeFunction>> GetFunction(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("functions/{id:guid}")>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function GetFunction (
<FromRouteAttribute> id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ActionResult(Of PlainSchemeFunction))
public:
[HttpGetAttribute(L"functions/{id:guid}")]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
ValueTask<ActionResult<PlainSchemeFunction^>^> GetFunction(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("functions/{id:guid}")>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member GetFunction :
[<FromRouteAttribute>] id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ActionResult<PlainSchemeFunction>>
- id Guid
- Identifier of function.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
ValueTaskActionResultPlainSchemeFunctionFunction, or 204 (No Content) if not found.