public Server(IPAddress ip, int port) { _listener = new TcpListener(ip, port); _ircClients = new List<IrcClient>(); _controller = new IrcController(_ircClients); _commandProcessor = new IrcCommandProcessor(_controller); }
public IrcCommandProcessor(IrcController controller) { _controller = controller; _commandProperties = new Dictionary<IReceivedCommand, IrcCommandAttribute>(); _availableCommands = FindAllAvailableCommands(); }
public IrcCommandProcessor(IrcController controller) { _controller = controller; _commandProperties = new Dictionary <IReceivedCommand, IrcCommandAttribute>(); _availableCommands = FindAllAvailableCommands(); }