public void Initialize(IConfigSource config, IRegistryCore registry) { IConfig handlers = config.Configs["Handlers"]; if (handlers.GetString("NeighborHandler", "") == Name) { registry.RegisterModuleInterface <INeighborService>(this); m_LocalService = new LocalNeighborServiceConnector(); m_LocalService.ReadConfig(config); } }
public void Initialize(IConfigSource config, IRegistryCore registry) { IConfig handlers = config.Configs["Handlers"]; if (handlers.GetString("NeighborHandler", "") == Name) { registry.RegisterModuleInterface<INeighborService>(this); m_LocalService = new LocalNeighborServiceConnector(); m_LocalService.ReadConfig(config); } }