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; }
public Web(VgcApis.Models.IServices.IApiService api) { vgcWeb = api.GetWebService(); vgcServers = api.GetServersService(); vgcSlinkMgr = api.GetShareLinkMgrService(); }