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();
 }
Beispiel #2
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();
        }
Beispiel #3
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";
        }