WorkplaceViewComponentHelperCreateFakeViewServiceAsync - метод
Создает подменный сервис представлений
Пространство имён: Tessa.UI.ViewsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
[NotNullAttribute]
public static Task<IViewService> CreateFakeViewServiceAsync(
[NotNullAttribute] IViewService viewService,
[CanBeNullAttribute] IViewMetadata viewMetadata,
CancellationToken cancellationToken = default
)
<NotNullAttribute>
Public Shared Function CreateFakeViewServiceAsync (
<NotNullAttribute> viewService As IViewService,
<CanBeNullAttribute> viewMetadata As IViewMetadata,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IViewService)
public:
[NotNullAttribute]
static Task<IViewService^>^ CreateFakeViewServiceAsync(
[NotNullAttribute] IViewService^ viewService,
[CanBeNullAttribute] IViewMetadata^ viewMetadata,
CancellationToken cancellationToken = CancellationToken()
)
[<NotNullAttribute>]
static member CreateFakeViewServiceAsync :
[<NotNullAttribute>] viewService : IViewService *
[<CanBeNullAttribute>] viewMetadata : IViewMetadata *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IViewService>
- viewService IViewService
-
Исходный сервис представлений
- viewMetadata IViewMetadata
-
Метаданные представления
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskIViewService
Подменный сервис представлений