예제 #1
0
파일: Misc.cs 프로젝트: datayang/V2RayGCon
 public Misc(
     Services.Settings settings,
     VgcApis.Interfaces.Services.IApiService api)
 {
     this.settings = settings;
     vgcUtils      = api.GetUtilsService();
     vgcSlinkMgr   = api.GetShareLinkMgrService();
 }
예제 #2
0
 public Misc(
     VgcApis.Interfaces.Services.IApiService api,
     Services.Settings settings,
     Services.FormMgrSvc formMgr)
 {
     this.settings = settings;
     this.formMgr  = formMgr;
     vgcNotifier   = api.GetNotifierService();
     vgcUtils      = api.GetUtilsService();
     vgcSlinkMgr   = api.GetShareLinkMgrService();
     vgcServer     = api.GetServersService();
     vgcSettings   = api.GetSettingService();
 }
예제 #3
0
 public Web(VgcApis.Interfaces.Services.IApiService api)
 {
     vgcWeb      = api.GetWebService();
     vgcServers  = api.GetServersService();
     vgcSlinkMgr = api.GetShareLinkMgrService();
 }