namespace Blue { public class QueryDefault_Hand : IQueryCommandHandler { public void ExcuteQueryCommand(ICommand command) { command.OnExcute(); } public void ExcuteQueryCommand<T>() where T : ICommand, new() { ExcuteQueryCommand(new T()); } } }