public void Initialize(ISimulationBase simBase)
 {
     LocalDataService service = new LocalDataService();
     service.Initialise(simBase.ConfigSource, simBase.ApplicationRegistry);
 }
        public virtual void InitializeModules()
        {
            LocalDataService lds = new LocalDataService();
            lds.Initialise(ConfigSource, ApplicationRegistry, m_dataPlugins);

            List<dynamic> modules = new List<dynamic>();
            foreach (Type t in m_servicePlugins)
            {
                var mods = WhiteCoreModuleLoader.PickupModules(t);
                modules.AddRange(mods);
            }

            foreach (dynamic service in modules)
            {
                if (!(service is IService)) continue;
                ((IService)service).Initialize(ConfigSource, ApplicationRegistry);
            }
            foreach (dynamic service in modules)
            {
                if (!(service is IService)) continue;
                ((IService) service).Start(ConfigSource, ApplicationRegistry);
            }
            foreach (dynamic service in modules)
            {
                if (!(service is IService)) continue;
                ((IService)service).FinishedStartup();
            }
        }
 public void Initialize(ISimulationBase openSim)
 {
     LocalDataService service = new LocalDataService();
     service.Initialise(openSim.ConfigSource, openSim.ApplicationRegistry);
 }