Ejemplo n.º 1
0
        public void Intialize()
        {
            services   = new Services();
            storage    = new BundleStorage();
            data       = new DirectoryInfo(DATA_STORAGE);
            namespaces = new Namespaces();
            system     = new SystemBundle();
            bundles    = new Bundles();
            bundles.Install(system);

            services.Register(system,
                              new string [] { typeof(NamespacesAdmin).FullName },
                              new NamespacesAdmin(),
                              null);

//            startLevelService = new StartLevelImpl();
//            services.Register(  system,
//                                new String [] { typeof(StartLevel).FullName },
//                                startLevelService,
//                                null);
//            startLevelService.open();
        }
Ejemplo n.º 2
0
 public BundleRepository(IBundleStorage storage, DumpRepository dumpRepository)
 {
     this.storage        = storage;
     this.dumpRepository = dumpRepository;
 }