Esempio n. 1
0
 public void Copy(DetailInfo detailInfo)
 {
     try
     {
         _message = detailInfo.Message;
     }
     catch (Exception exception)
     {
         Log.Error(exception);
     }
 }
Esempio n. 2
0
 public void Copy(DetailInfo detailInfo)
 {
     try
       {
     _message = detailInfo.Message;
       }
       catch (Exception exception)
       {
     Log.Error(exception);
       }
 }
Esempio n. 3
0
        public DetailInfo Copy()
        {
            try
            {
                var detailInfo = new DetailInfo();

                detailInfo.Copy(this);

                return(detailInfo);
            }
            catch (Exception exception)
            {
                Log.Error(exception);

                return(null);
            }
        }
Esempio n. 4
0
        public DetailInfo Copy()
        {
            try
              {
            var detailInfo = new DetailInfo();

            detailInfo.Copy(this);

            return detailInfo;
              }
              catch (Exception exception)
              {
            Log.Error(exception);

            return null;
              }
        }
Esempio n. 5
0
        public void Copy(ErrorInfo errorInfo)
        {
            try
            {
                _type    = errorInfo.Type;
                _message = errorInfo.Message;

                for (int i = 0; i < errorInfo.Details.Count; i++)
                {
                    DetailInfo detailInfo = errorInfo.Details[i].Copy();

                    Details.Add(detailInfo);
                }
            }
            catch (Exception exception)
            {
                Log.Error(exception);
            }
        }