Ejemplo n.º 1
0
 protected override void Start(VgcApis.IService api)
 {
     this.api      = api;
     this.settings = new Services.Settings();
     vgcServers    = api.GetVgcServersService();
     vgcSettings   = api.GetVgcSettingService();
     settings.Run(api);
 }
Ejemplo n.º 2
0
 public void Run(VgcApis.IService api)
 {
     this.api      = api;
     this.settings = new Services.Settings();
     vgcServers    = api.GetVgcServersService();
     vgcSettings   = api.GetVgcSettingService();
     settings.Run(api);
 }
Ejemplo n.º 3
0
        protected override void Start(VgcApis.IService api)
        {
            this.api    = api;
            vgcServers  = api.GetVgcServersService();
            vgcSettings = api.GetVgcSettingService();

            settings  = new Services.Settings();
            luaServer = new Services.LuaServer();

            settings.Run(vgcSettings);
            luaServer.Run(settings, vgcServers);

            // debug
            // this.Popup();
            // formMain.Activate();
        }
Ejemplo n.º 4
0
        public void Run(VgcApis.IService api)
        {
            orgSysProxySetting = Lib.Sys.ProxySetter.GetProxySetting();
            this.vgcApi        = api;

            var vgcSetting = api.GetVgcSettingService();
            var vgcServer  = api.GetVgcServersService();

            pacServer     = new PacServer();
            setting       = new PsSettings();
            serverTracker = new ServerTracker();

            // dependency injection
            setting.Run(vgcSetting);
            pacServer.Run(setting);
            serverTracker.Run(setting, pacServer, vgcServer);

            setting.DebugLog("call Luncher.run");
        }
Ejemplo n.º 5
0
 public void Run(VgcApis.IService vgcApi)
 {
     vgcServers   = vgcApi.GetVgcServersService();
     vgcSetting   = vgcApi.GetVgcSettingService();
     userSettings = LoadUserSettings();
 }