WidgetTemplatesRepositoryIsTemplateExistsAsync - метод
Checks if a widget template with the specified identifier exists.
Пространство имён: Tessa.Dashboards.WidgetTemplatesСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public Task<bool> IsTemplateExistsAsync(
Guid templateID,
CancellationToken cancellationToken = default
)
Public Function IsTemplateExistsAsync (
templateID As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
public:
virtual Task<bool>^ IsTemplateExistsAsync(
Guid templateID,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract IsTemplateExistsAsync :
templateID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
override IsTemplateExistsAsync :
templateID : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
- templateID Guid
- Widget template identifier.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskBoolean if template with the specified identifier exists; otherwise or
.
IWidgetTemplatesRepositoryIsTemplateExistsAsync(Guid, CancellationToken)