Exemplo n.º 1
0
 public void Run(VgcApis.IApi vgcApi)
 {
     vgcUtils     = vgcApi.GetVgcUtils();
     vgcServers   = vgcApi.GetVgcServersService();
     vgcSetting   = vgcApi.GetVgcSettingService();
     userSettings = LoadUserSettings();
 }
Exemplo n.º 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);
 }
Exemplo n.º 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();
        }