public IrcClient() { DataRecieved += new IrcDataEventHandler(IrcClient_DataRecieved); DataSent += new IrcDataEventHandler(IrcClient_DataSent); }
private void ConfigureAddons() { foreach (string addonName in m_addOns.Keys) { IAddOn addOn = m_addOns[addonName]; if (addOn.IsStarted) continue; addOn.Init(this); if (addOn.IsService) StartAddOn(addOn); if (addOn.SubscribeOnDataReceived) ProcessedDataReceived += new IrcDataEventHandler(addOn.Client_ProcessedDataReceived); } }