Beispiel #1
0
        public override string ToString()
        {
            string strDes = string.Empty;

            if (this.Success)
            {
                strDes = string.Format("Success: {0} - Code: {1}", Success, Code);
            }
            else
            {
                if (ValidateInfo != null)
                {
                    strDes = string.Format("Failed - Code: {0} - Message: {1}", Code, CommonFn.SerializeObject(ValidateInfo));
                }
            }
            return(strDes);
        }