private readonly IHttpContextAccessor _httpContext; /// <summary> /// Initializes a new instance of the <see cref="FileAppService"/> class. /// File構造方法 /// </summary> /// <param name="cacheManager">緩存服務</param> /// <param name="uR01DomainService">用戶領域服務</param> /// <param name="httpContext">context</param> /// <param name="gK03Repository">用戶上傳的資源文件倉儲接口</param> public FileAppService( ICacheManager cacheManager, IUR01DomainService uR01DomainService, IHttpContextAccessor httpContext, IGK03Repository gK03Repository ) { this._cacheManager = cacheManager; this._uR01DomainService = uR01DomainService; this._httpContext = httpContext; this._gK03Repository = gK03Repository; }