コード例 #1
0
 public void Initialize(IGenericData unneeded, IConfigSource source, IRegistryCore simBase, string defaultConnectionString)
 {
     if (source.Configs["AuroraConnectors"].GetString("MuteListConnector", "LocalConnector") == "IWCConnector")
     {
         m_localService = new LocalMuteListConnector();
         m_localService.Initialize(unneeded, source, simBase, defaultConnectionString);
         m_remoteService = new RemoteMuteListConnector();
         m_remoteService.Initialize(unneeded, source, simBase, defaultConnectionString);
         m_registry = simBase;
         DataManager.DataManager.RegisterPlugin(Name, this);
     }
 }