sharp-chat/SharpChat.Protocol.SockChat/Commands/ICommand.cs

8 lines
245 B
C#

using System.Collections.Generic;
namespace SharpChat.Protocol.SockChat.Commands {
public interface ICommand {
bool IsCommandMatch(string name, IEnumerable<string> args);
bool DispatchCommand(CommandContext ctx);
}
}