AiEmployeeSearchServiceSearchAsync - метод

Searches for employees in the "Users" view using the specified parameters of type AiEmployee.

Definition

Пространство имён: Tessa.Ai.AiViewSearch
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public ValueTask<IList<AiEmployeeInfo?>> SearchAsync(
	AiEmployee employee,
	IValidationResultBuilder validationResult,
	CancellationToken cancellationToken = default
)

Параметры

employee  AiEmployee
An employee model to search in a view that contains a last name, first name, and middle name.
validationResult  IValidationResultBuilder
Объект, выполняющий построение результата валидации.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

ValueTaskIListAiEmployeeInfo
List of found employees of type AiEmployeeInfo.

Реализации

IAiSearchServiceTObject, TInfoSearchAsync(TObject, IValidationResultBuilder, CancellationToken)

См. также