Ejemplo n.º 1
0
        public MailUser(CsvEntry e)
        {
            this.MailAddress = e[0];
            this.Company     = e[1];
            this.FullName    = e[2];
            this.Language    = CoreLanguageList.GetLanguageClassByName(e[3]);

            if (e.Count >= 5)
            {
                string pStr = e[4];

                this.ParamList = MailUtil.StrToParamList(pStr);
            }

            normalize();
        }
Ejemplo n.º 2
0
        public MailUser(string mail, string name, string company, string language, List <KeyValuePair <string, string> > paramList)
        {
            this.MailAddress = mail;
            this.Company     = company;
            this.FullName    = name;
            this.Language    = CoreLanguageList.GetLanguageClassByName(language);
            if (paramList == null)
            {
                this.ParamList = new List <KeyValuePair <string, string> >();
            }
            else
            {
                this.ParamList = paramList;
            }

            normalize();
        }