using Gameboard.ShogiUI.Sockets.ServiceModels.Socket.Types; using System.Threading.Tasks; namespace Gameboard.ShogiUI.Sockets.Managers.ClientActionHandlers { public interface IActionHandler { /// /// Responsible for parsing json and handling the request. /// Task Handle(string json, string userName); } public delegate IActionHandler ActionHandlerResolver(ClientAction action); }