SchemeControllerPostInvalidateCache - метод
Invalidate scheme cache on the server.
Method is available for administrators only.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.8
[HttpPostAttribute("invalidate")]
[ProducesResponseTypeAttribute(200)]
public ValueTask<ActionResult<bool>> PostInvalidateCache(
[FromQueryAttribute] bool force = false
)
<HttpPostAttribute("invalidate")>
<ProducesResponseTypeAttribute(200)>
Public Function PostInvalidateCache (
<FromQueryAttribute> Optional force As Boolean = false
) As ValueTask(Of ActionResult(Of Boolean))
public:
[HttpPostAttribute(L"invalidate")]
[ProducesResponseTypeAttribute(200)]
ValueTask<ActionResult<bool>^> PostInvalidateCache(
[FromQueryAttribute] bool force = false
)
[<HttpPostAttribute("invalidate")>]
[<ProducesResponseTypeAttribute(200)>]
member PostInvalidateCache :
[<FromQueryAttribute>] ?force : bool
(* Defaults:
let _force = defaultArg force false
*)
-> ValueTask<ActionResult<bool>>
- force Boolean (Optional)
- true - cache will be invalidated forcefully;
false - cache will be invalidated only if necessary.
ValueTaskActionResultBooleantrue if cache was actually invalidated;
false otherwise.