WallpapersControllerGetWallpaperIconAsync - метод
Get an icon image for a wallpaper by name.
Пространство имён: Tessa.Web.Client.ControllersСборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpGetAttribute("icons/{name}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
[ProducesResponseTypeAttribute(304)]
public Task<ActionResult> GetWallpaperIconAsync(
[FromRouteAttribute] string? name,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("icons/{name}")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
<ProducesResponseTypeAttribute(304)>
Public Function GetWallpaperIconAsync (
<FromRouteAttribute> name As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpGetAttribute(L"icons/{name}")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
[ProducesResponseTypeAttribute(304)]
Task<ActionResult^>^ GetWallpaperIconAsync(
[FromRouteAttribute] String^ name,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("icons/{name}")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
[<ProducesResponseTypeAttribute(304)>]
member GetWallpaperIconAsync :
[<FromRouteAttribute>] name : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- name String
-
Name of the icon file.
- cancellationToken CancellationToken (Optional)
- Token to cancel the async task.
TaskActionResultWallpaper icon image or 204 if not found.