예제 #1
0
 public void Run(VgcApis.IService api)
 {
     this.api      = api;
     this.settings = new Services.Settings();
     vgcServers    = api.GetVgcServersService();
     vgcSettings   = api.GetVgcSettingService();
     settings.Run(api);
 }
예제 #2
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);
 }
예제 #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();
        }
예제 #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");
        }
예제 #5
0
 protected override void Start(VgcApis.IService api)
 {
     luncher = new Services.PsLuncher();
     luncher.Run(api);
 }
예제 #6
0
 public void Run(VgcApis.IService api)
 {
     luncher = new Services.PsLuncher();
     luncher.Run(api);
 }
예제 #7
0
 public void Run(VgcApis.IService vgcApi)
 {
     vgcServers   = vgcApi.GetVgcServersService();
     vgcSetting   = vgcApi.GetVgcSettingService();
     userSettings = LoadUserSettings();
 }