|
namespace AT.Core.Cqrs
{
/// <summary>
/// Base interface for command handlers
/// </summary>
/// <typeparam name="TParameter"></typeparam>
public interface ICommandHandler<in TParameter> where TParameter : ICommand
{
/// <summary>
/// Executes a command handler
/// </summary>
/// <param name="command">The command to be used</param>
void Execute(TParameter command);
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Passionate about refining software practices, promoting self-motivated teams and orchestrating agile projects.
Lives in London, UK and works as a .NET architect consultant in the City.
Blog
AdamTibi.net.