PlaceholderCompilerPrepareValidationResultAsync - метод
Пространство имён: Tessa.Compilation.PlaceholdersСборка: Tessa.Server (в Tessa.Server.dll) Версия: 4.0.4
protected override ValueTask<ValidationResult> PrepareValidationResultAsync(
IPlaceholderCompilationContext tessaCompilerContext,
ICompilationResult compilationResult,
CancellationToken cancellationToken = default
)
Protected Overrides Function PrepareValidationResultAsync (
tessaCompilerContext As IPlaceholderCompilationContext,
compilationResult As ICompilationResult,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ValidationResult)
protected:
virtual ValueTask<ValidationResult^> PrepareValidationResultAsync(
IPlaceholderCompilationContext^ tessaCompilerContext,
ICompilationResult^ compilationResult,
CancellationToken cancellationToken = CancellationToken()
) override
abstract PrepareValidationResultAsync :
tessaCompilerContext : IPlaceholderCompilationContext *
compilationResult : ICompilationResult *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
override PrepareValidationResultAsync :
tessaCompilerContext : IPlaceholderCompilationContext *
compilationResult : ICompilationResult *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
- tessaCompilerContext IPlaceholderCompilationContext
- Контекст компилятора.
- compilationResult ICompilationResult
Результат компиляции.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskValidationResult
Результат валидации. Экземпляры класса являются неизменяемыми.