CommandDispatcherTryGetHandlerTCommand - метод
Осуществляет попытку получения обработчика для команды TCommand
Пространство имён: Tessa.Views.MessageServicesСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public Func<TCommand, CancellationToken, Task> TryGetHandler<TCommand>()
where TCommand : IRoutedCommand
Public Function TryGetHandler(Of TCommand As IRoutedCommand) As Func(Of TCommand, CancellationToken, Task)
public:
generic<typename TCommand>
where TCommand : IRoutedCommand
virtual Func<TCommand, CancellationToken, Task^>^ TryGetHandler() sealed
abstract TryGetHandler : unit -> Func<'TCommand, CancellationToken, Task> when 'TCommand : IRoutedCommand
override TryGetHandler : unit -> Func<'TCommand, CancellationToken, Task> when 'TCommand : IRoutedCommand
- TCommand
- Тип команды
FuncTCommand,
CancellationToken,
TaskОбработчик или null
ICommandDispatcherTryGetHandlerTCommand