Beispiel #1
0
 public LuaApis(
     Services.Settings settings,
     VgcApis.Models.IServices.IApiService api)
 {
     this.settings          = settings;
     this.vgcConfigMgr      = api.GetConfigMgrService();
     this.vgcServers        = api.GetServersService();
     this.vgcWeb            = api.GetWebService();
     this.vgcUtils          = api.GetUtilsService();
     this.redirectLogWorker = settings.SendLog;
 }
Beispiel #2
0
 public Web(VgcApis.Models.IServices.IApiService api)
 {
     vgcWeb      = api.GetWebService();
     vgcServers  = api.GetServersService();
     vgcSlinkMgr = api.GetShareLinkMgrService();
 }