/// <summary> /// 初始化调试API(权限要求:中) /// </summary> /// <param name="ctx">设置者</param> /// <param name="apiImpl">API实现</param> public void SetLogApi(ILogApi apiImpl) { OpenApi.Log = apiImpl; }
public LogController(ILogApi logApi) { this.logApi = logApi; }
public LogService(ILogApi repository, IAuthenticationService authenticationService, ISessionContext sessionContext) { _repository = repository; _authenticationService = authenticationService; _sessionContext = sessionContext; }
public LogController(ILogApi logApi) { _logApi = logApi; }