PlaceholderManagerFindAsync - метод
Выполняет поиск плейсхолдеров в документе.
Пространство имён: Tessa.Platform.PlaceholdersСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public Task<List<IPlaceholder>> FindAsync(
IPlaceholderDocument document,
IValidationResultBuilder validationResult,
Dictionary<string, Object> info = null,
FindingOptions options = FindingOptions.None,
CreateAliasPlaceholderContextFuncAsync createAliasContextFuncAsync = null,
IExtensionExecutor<IPlaceholderExtension> extensionExecutor = null,
CancellationToken cancellationToken = default
)
Public Function FindAsync (
document As IPlaceholderDocument,
validationResult As IValidationResultBuilder,
Optional info As Dictionary(Of String, Object) = Nothing,
Optional options As FindingOptions = FindingOptions.None,
Optional createAliasContextFuncAsync As CreateAliasPlaceholderContextFuncAsync = Nothing,
Optional extensionExecutor As IExtensionExecutor(Of IPlaceholderExtension) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of List(Of IPlaceholder))
public:
virtual Task<List<IPlaceholder^>^>^ FindAsync(
IPlaceholderDocument^ document,
IValidationResultBuilder^ validationResult,
Dictionary<String^, Object^>^ info = nullptr,
FindingOptions options = FindingOptions::None,
CreateAliasPlaceholderContextFuncAsync^ createAliasContextFuncAsync = nullptr,
IExtensionExecutor<IPlaceholderExtension^>^ extensionExecutor = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract FindAsync :
document : IPlaceholderDocument *
validationResult : IValidationResultBuilder *
?info : Dictionary<string, Object> *
?options : FindingOptions *
?createAliasContextFuncAsync : CreateAliasPlaceholderContextFuncAsync *
?extensionExecutor : IExtensionExecutor<IPlaceholderExtension> *
?cancellationToken : CancellationToken
(* Defaults:
let _info = defaultArg info null
let _options = defaultArg options FindingOptions.None
let _createAliasContextFuncAsync = defaultArg createAliasContextFuncAsync null
let _extensionExecutor = defaultArg extensionExecutor null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<List<IPlaceholder>>
override FindAsync :
document : IPlaceholderDocument *
validationResult : IValidationResultBuilder *
?info : Dictionary<string, Object> *
?options : FindingOptions *
?createAliasContextFuncAsync : CreateAliasPlaceholderContextFuncAsync *
?extensionExecutor : IExtensionExecutor<IPlaceholderExtension> *
?cancellationToken : CancellationToken
(* Defaults:
let _info = defaultArg info null
let _options = defaultArg options FindingOptions.None
let _createAliasContextFuncAsync = defaultArg createAliasContextFuncAsync null
let _extensionExecutor = defaultArg extensionExecutor null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<List<IPlaceholder>>
- document IPlaceholderDocument
- Документ, содержащий текст с плейсхолдерами.
- validationResult IValidationResultBuilder
- Объект, выполняющий построение результата операции.
- info DictionaryString, Object (Optional)
-
Дополнительная информация, передаваемая в контекст операций поиска и замены,
или null, если дополнительная информация отсутствует.
- options FindingOptions (Optional)
- Опции по поиску и распознанию плейсхолдеров.
- createAliasContextFuncAsync CreateAliasPlaceholderContextFuncAsync (Optional)
-
- extensionExecutor IExtensionExecutorIPlaceholderExtension (Optional)
- Объект, исполняющий цепочку расширений.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskListIPlaceholderНайденные плейсхолдеры.
IPlaceholderManagerFindAsync(IPlaceholderDocument, IValidationResultBuilder, DictionaryString, Object, FindingOptions, CreateAliasPlaceholderContextFuncAsync, IExtensionExecutorIPlaceholderExtension, CancellationToken)