WorkplaceServiceGetByNameAsync - метод
Возвращает рабочее место по имени
Пространство имён: Tessa.Views.WorkplacesСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public ValueTask<IWorkplaceMetadata> GetByNameAsync(
string alias,
CancellationToken cancellationToken = default
)
Public Function GetByNameAsync (
alias As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IWorkplaceMetadata)
public:
virtual ValueTask<IWorkplaceMetadata^> GetByNameAsync(
String^ alias,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetByNameAsync :
alias : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IWorkplaceMetadata>
override GetByNameAsync :
alias : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IWorkplaceMetadata>
- alias String
-
Имя рабочего места
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskIWorkplaceMetadata
The
WorkplaceMetadata.
IWorkplaceServiceGetByNameAsync(String, CancellationToken)