예제 #1
0
파일: Apis.cs 프로젝트: zxniuniu/V2RayGCon
        public void Run(
            ISettingsService setting,
            IServersService servers,
            IConfigMgrService configMgr)
        {
            this.configMgrService = configMgr;
            this.settingService   = setting;
            this.serversService   = servers;

            this.utilsService = new ApiComponents.UtilsApi();
            this.webService   = new ApiComponents.WebApi();
        }
예제 #2
0
파일: Apis.cs 프로젝트: torgitor/vrGCon
        public void Run(
            ISettingsService setting,
            IServersService servers,
            IConfigMgrService configMgr,
            IShareLinkMgrService slinkMgr,
            INotifierService notifier)
        {
            this.configMgrService = configMgr;
            this.settingService   = setting;
            this.serversService   = servers;
            this.slinkMgrService  = slinkMgr;
            this.notifierService  = notifier;

            this.utilsService = new ApiComponents.UtilsApi();
            this.webService   = new ApiComponents.WebApi();
        }