PlaceholderExtensionCompilationCacheGetCompilerContextAsync(FuncIPlaceholderExtensionScriptDescription, CancellationToken) - метод
Пространство имён: Tessa.Compilation.PlaceholdersСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
protected override Task<IList<TessaCompilationContext<IPlaceholderExtensionScriptDescription>>> GetCompilerContextAsync(
Func<IPlaceholderExtensionScriptDescription> getCompilerContextFunc,
CancellationToken cancellationToken = default
)
Protected Overrides Function GetCompilerContextAsync (
getCompilerContextFunc As Func(Of IPlaceholderExtensionScriptDescription),
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IList(Of TessaCompilationContext(Of IPlaceholderExtensionScriptDescription)))
protected:
virtual Task<IList<TessaCompilationContext<IPlaceholderExtensionScriptDescription^>^>^>^ GetCompilerContextAsync(
Func<IPlaceholderExtensionScriptDescription^>^ getCompilerContextFunc,
CancellationToken cancellationToken = CancellationToken()
) override
abstract GetCompilerContextAsync :
getCompilerContextFunc : Func<IPlaceholderExtensionScriptDescription> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IList<TessaCompilationContext<IPlaceholderExtensionScriptDescription>>>
override GetCompilerContextAsync :
getCompilerContextFunc : Func<IPlaceholderExtensionScriptDescription> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IList<TessaCompilationContext<IPlaceholderExtensionScriptDescription>>>
- getCompilerContextFunc FuncIPlaceholderExtensionScriptDescription
- Функция, выполняющая создание нового объекта контекста компилятора.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого может мыть отменена асинхронная задача.
TaskIListTessaCompilationContextIPlaceholderExtensionScriptDescriptionСписок контекстов компиляции.