Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Common
- {
- /// <summary>
- /// Marker interface for commands.
- /// </summary>
- public interface ICommand<in TRequest> where TRequest : IRequest
- {
- void Execute(TRequest request);
- }
- }
- namespace Common
- {
- /// <summary>
- /// Marker interface for requests.
- /// </summary>
- public interface IRequest
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement