emailinfo.cs

来自「人物传记/成功经验人物传记/成功经验人物传记/成功经验人物传记/成功经验人物传记」· CS 代码 · 共 119 行

CS
119
字号
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SkyiSite.DBUtility
{
    public class EmailInfo
    {
        private string _From;
        private string _Home;
        private string _UserName;
        private string _PassWord;
        private string _SendSuccessMessage;
        private string _SendFailMessage;
        public EmailInfo() { }
        public EmailInfo(string pFrom, string pUserName, string pPassWord, string pSendSuccessMessage, string pSendFailMessage,string pHome)
        {
            From = pFrom;
            UserName = pUserName;
            PassWord = pPassWord;
            SendSuccessMessage = pSendSuccessMessage;
            SendFailMessage = pSendFailMessage;
            Home = pHome;
        }
        public string Home
        {
            get
            {
                return this._Home;
            }
            set
            {
                if ((this._Home != value))
                {
                    this._Home = value;
                }
            }
        }
        public string From
        {
            get
            {
                return this._From;
            }
            set
            {
                if ((this._From != value))
                {
                    this._From = value;
                }
            }
        }
        public string UserName
        {
            get
            {
                return this._UserName;
            }
            set
            {
                if ((this._UserName != value))
                {
                    this._UserName = value;
                }
            }
        }

        public string PassWord
        {
            get
            {
                return this._PassWord;
            }
            set
            {
                if ((this._PassWord != value))
                {
                    this._PassWord = value;
                }
            }
        }



        public string SendSuccessMessage
        {
            get
            {
                return this._SendSuccessMessage;
            }
            set
            {
                if ((this._SendSuccessMessage != value))
                {
                    this._SendSuccessMessage = value;
                }
            }
        }

        public string SendFailMessage
        {
            get
            {
                return this._SendFailMessage;
            }
            set
            {
                if ((this._SendFailMessage != value))
                {
                    this._SendFailMessage = value;
                }
            }
        }


    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?