WidgetTemplatesRepositoryGetTemplatesInfoAsync - метод
Retrieves the widget templates info for specified kind and type of dashboard, if any.
Пространство имён: Tessa.Dashboards.WidgetTemplatesСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public Task<WidgetTemplateInfo[]> GetTemplatesInfoAsync(
DashboardType? dashboardType = null,
WidgetTemplatesKind? kind = null,
CancellationToken cancellationToken = default
)
Public Function GetTemplatesInfoAsync (
Optional dashboardType As DashboardType? = Nothing,
Optional kind As WidgetTemplatesKind? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of WidgetTemplateInfo())
public:
virtual Task<array<WidgetTemplateInfo^>^>^ GetTemplatesInfoAsync(
Nullable<DashboardType> dashboardType = nullptr,
Nullable<WidgetTemplatesKind> kind = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetTemplatesInfoAsync :
?dashboardType : Nullable<DashboardType> *
?kind : Nullable<WidgetTemplatesKind> *
?cancellationToken : CancellationToken
(* Defaults:
let _dashboardType = defaultArg dashboardType null
let _kind = defaultArg kind null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<WidgetTemplateInfo[]>
override GetTemplatesInfoAsync :
?dashboardType : Nullable<DashboardType> *
?kind : Nullable<WidgetTemplatesKind> *
?cancellationToken : CancellationToken
(* Defaults:
let _dashboardType = defaultArg dashboardType null
let _kind = defaultArg kind null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<WidgetTemplateInfo[]>
- dashboardType NullableDashboardType (Optional)
Dashboard types.
- kind NullableWidgetTemplatesKind (Optional)
The kind of widget templates.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskWidgetTemplateInfoCollection of
WidgetTemplateInfo objects.
IWidgetTemplatesRepositoryGetTemplatesInfoAsync(NullableDashboardType, NullableWidgetTemplatesKind, CancellationToken)