Beispiel #1
0
 public void Run(VgcApis.IApi vgcApi)
 {
     vgcUtils     = vgcApi.GetVgcUtils();
     vgcServers   = vgcApi.GetVgcServersService();
     vgcSetting   = vgcApi.GetVgcSettingService();
     userSettings = LoadUserSettings();
 }
Beispiel #2
0
 public void Run(VgcApis.IApi api)
 {
     this.api      = api;
     this.settings = new Services.Settings();
     vgcServers    = api.GetVgcServersService();
     vgcSettings   = api.GetVgcSettingService();
     settings.Run(api);
 }
Beispiel #3
0
        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();
        }