Ejemplo n.º 1
0
        public ExcelDownload(
            IHttpContextAccessor httpContextAccessor,
            XMLCommonUtil xmlCommonUtil)
        {
            this._httpContext  = httpContextAccessor.HttpContext;
            this.xmlCommonUtil = xmlCommonUtil;

            //this._httpContext = HttpContext.Current;
            //this.xmlCommonUtil = new XMLCommonUtil();
        }
Ejemplo n.º 2
0
        public FileCommonUtil(
            IHttpContextAccessor httpContextAccessor,
            IOptions <AppOptions> appOptionsAccessor,
            XMLCommonUtil xmlCommonUtil)
        {
            this.appOptions    = appOptionsAccessor.Value;
            this._httpContext  = httpContextAccessor.HttpContext;
            this.xmlCommonUtil = xmlCommonUtil;

            //this._httpContext = HttpContext.Current;
            //this.xmlCommonUtil = new XMLCommonUtil();
        }
 public UploadAndPostTwitPic(
     IHttpContextAccessor httpContextAccessor,
     XMLCommonUtil xmlCommonUtil,
     FileCommonUtil fileCommonUtil,
     Gmail gmail)
 {
     this._httpContext   = httpContextAccessor.HttpContext;
     this.xmlCommonUtil  = xmlCommonUtil;
     this.fileCommonUtil = fileCommonUtil;
     this.gmail          = gmail;
     //this._httpContext = HttpContext.Current;
     //this.xmlCommonUtil = new XMLCommonUtil();
 }
Ejemplo n.º 4
0
        private const string P_TYPE_FORM_value   = "form";//추후 구현할 value값



        public SendEmail(
            XMLCommonUtil xmlCommonUtil,
            FileCommonUtil fileCommonUtil,
            Gmail gmail,
            IHttpContextAccessor httpContextAccessor)
        {
            this.xmlCommonUtil  = xmlCommonUtil;
            this.fileCommonUtil = fileCommonUtil;
            this.mensagem       = gmail;
            this._httpContext   = httpContextAccessor.HttpContext;

            //mensagem = new Gmail();
            //this._httpContext = HttpContext.Current;
            //this.xmlCommonUtil = new XMLCommonUtil();
        }
Ejemplo n.º 5
0
        private const string GUBUN_SEND_SMS      = "send_sms";//or "send_public_sms";

        public SendMobileMSGCommon(
            IHttpContextAccessor httpContextAccessor,
            XMLCommonUtil xmlCommonUtil,
            FileCommonUtil fileCommonUtil,
            IOptions <AppOptions> appOptionsAccessor)
        {
            _httpContext        = httpContextAccessor.HttpContext;
            this.xmlCommonUtil  = xmlCommonUtil;
            this.appOptions     = appOptionsAccessor.Value;
            this.fileCommonUtil = fileCommonUtil;
            //this._httpContext = HttpContext.Current;
            //this.xmlCommonUtil = new XMLCommonUtil();
            this.webClient = new WebClient();

            PROC_SEND_MOBILE_MSG_CUD = $"{appOptions.DbSchema}._SendMobileMSG";
        }