protected override void Start(VgcApis.IService api) { this.api = api; this.settings = new Services.Settings(); vgcServers = api.GetVgcServersService(); vgcSettings = api.GetVgcSettingService(); settings.Run(api); }
public void Run(VgcApis.IService api) { this.api = api; this.settings = new Services.Settings(); vgcServers = api.GetVgcServersService(); vgcSettings = api.GetVgcSettingService(); settings.Run(api); }
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(); }
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"); }
public void Run(VgcApis.IService vgcApi) { vgcServers = vgcApi.GetVgcServersService(); vgcSetting = vgcApi.GetVgcSettingService(); userSettings = LoadUserSettings(); }