mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-23 02:05:27 +02:00
10 lines
382 B
C#
10 lines
382 B
C#
|
namespace NzbDrone.Core.Messaging.Commands
|
||
|
{
|
||
|
public interface ICommandExecutor
|
||
|
{
|
||
|
void PublishCommand<TCommand>(TCommand command) where TCommand : Command;
|
||
|
void PublishCommand(string commandTypeName);
|
||
|
Command PublishCommandAsync<TCommand>(TCommand command) where TCommand : Command;
|
||
|
Command PublishCommandAsync(string commandTypeName);
|
||
|
}
|
||
|
}
|