Esempio n. 1
0
 public AptActionInstall(AptEnvironment env, AptLocal local, AptRemote remote, AptRepository repo)
 {
     AptEnv  = env;
     AptL    = local;
     AptR    = remote;
     AptRepo = repo;
 }
Esempio n. 2
0
        public AptLocal(AptEnvironment env)
        {
            AptEnv = env;

            SanityCheck();
            FetchInstalledAddons();
        }
Esempio n. 3
0
 public AptActionInstall(AptEnvironment env)
 {
     AptEnv  = env;
     AptL    = new AptLocal(env);
     AptR    = new AptRemote(env);
     AptRepo = new AptRepository(env);
 }
Esempio n. 4
0
        public AptActionRemove(AptEnvironment env, AptLocal local, AptRemote remote, AptRepository repo)
        {
            AptEnv  = env;
            AptL    = local;
            AptR    = remote;
            AptRepo = repo;

            Initialize();
        }
Esempio n. 5
0
        public AptActionRemove(AptEnvironment env)
        {
            AptEnv  = env;
            AptL    = new AptLocal(env);
            AptR    = new AptRemote(env);
            AptRepo = new AptRepository(env);

            Initialize();
        }
Esempio n. 6
0
        public AptActionUpgrade(AptEnvironment env, AptLocal local, AptRemote remote, AptRepository repo)
            : base(env, local, remote, repo)
        {
            AptEnv  = env;
            AptL    = local;
            AptR    = remote;
            AptRepo = repo;

            Initialize();
        }
Esempio n. 7
0
        public AptRepository(AptEnvironment env)
        {
            AptEnv = env;

            if (!LoadIndexFile())
            {
                throw new Exception("repository.index.load.failed");
            }
            if (!ParseIndexFile())
            {
                throw new Exception("repository.index.parse.failed");
            }
        }
Esempio n. 8
0
 public AptRemote(AptEnvironment env)
 {
     AptEnv = env;
 }