public void Run(VgcApis.IApi vgcApi) { vgcUtils = vgcApi.GetVgcUtils(); vgcServers = vgcApi.GetVgcServersService(); vgcSetting = vgcApi.GetVgcSettingService(); userSettings = LoadUserSettings(); }
public void Run(VgcApis.IApi api) { this.api = api; this.settings = new Services.Settings(); vgcServers = api.GetVgcServersService(); vgcSettings = api.GetVgcSettingService(); settings.Run(api); }
public void Run( VgcApis.Models.IUtils vgcUtils, PsSettings setting, PacServer pacServer, VgcApis.Models.IServersService servers) { this.vgcUtils = vgcUtils; this.setting = setting; this.pacServer = pacServer; this.servers = servers; Restart(); }