CommandDispatcher.TryGetHandler<TCommand> - метод
Осуществляет попытку получения обработчика для команды TCommand
Пространство имён: Tessa.Views.MessageServicesСборка: Tessa (в Tessa.dll) Версия: 4.0.5
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
- Тип команды
Func<TCommand,
CancellationToken,
Task>Обработчик или null
ICommandDispatcher.TryGetHandler<TCommand>()