InitializationExtensionHelperApplyWorkplacePolicyAsync(IListIWorkplaceMetadata, IServerInitializationExtensionContext, IWorkplaceWalkerFactory, WorkplaceMetadataSerializer, CancellationToken) - метод |
Пространство имён:
Tessa.Extensions.Platform.Shared.Initialization
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public static ValueTask ApplyWorkplacePolicyAsync(
IList<IWorkplaceMetadata> workplaces,
IServerInitializationExtensionContext extensionContext,
IWorkplaceWalkerFactory walkerFactory,
WorkplaceMetadataSerializer workplaceSerializer,
CancellationToken cancellationToken = default
)
Public Shared Function ApplyWorkplacePolicyAsync (
workplaces As IList(Of IWorkplaceMetadata),
extensionContext As IServerInitializationExtensionContext,
walkerFactory As IWorkplaceWalkerFactory,
workplaceSerializer As WorkplaceMetadataSerializer,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
static ValueTask ApplyWorkplacePolicyAsync(
IList<IWorkplaceMetadata^>^ workplaces,
IServerInitializationExtensionContext^ extensionContext,
IWorkplaceWalkerFactory^ walkerFactory,
WorkplaceMetadataSerializer^ workplaceSerializer,
CancellationToken cancellationToken = CancellationToken()
)
static member ApplyWorkplacePolicyAsync :
workplaces : IList<IWorkplaceMetadata> *
extensionContext : IServerInitializationExtensionContext *
walkerFactory : IWorkplaceWalkerFactory *
workplaceSerializer : WorkplaceMetadataSerializer *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
Параметры
- workplaces
- Тип: System.Collections.GenericIListIWorkplaceMetadata
- extensionContext
- Тип: Tessa.Platform.InitializationIServerInitializationExtensionContext
- walkerFactory
- Тип: Tessa.Views.AccessPolicyIWorkplaceWalkerFactory
- workplaceSerializer
- Тип: Tessa.Views.Parser.SerializationWorkplaceMetadataSerializer
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskСм. также