zoukankan      html  css  js  c++  java
  • net abp core的appservice中访问httpcontext对象

    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;
    }
  • 相关阅读:
    2020年12月2日
    2020年12月1日
    2020年11月30日
    2020年11月29日
    2020年11月28日
    2020年11月27日
    2020年11月26日
    2020年11月25日
    浅谈扩展欧几里得算法
    Hello 2020
  • 原文地址:https://www.cnblogs.com/damsoft/p/9592040.html
Copyright © 2011-2022 走看看