Пример #1
0
 public void Copy(DetailInfo detailInfo)
 {
     try
     {
         _message = detailInfo.Message;
     }
     catch (Exception exception)
     {
         Log.Error(exception);
     }
 }
Пример #2
0
 public void Copy(DetailInfo detailInfo)
 {
     try
       {
     _message = detailInfo.Message;
       }
       catch (Exception exception)
       {
     Log.Error(exception);
       }
 }
Пример #3
0
        public DetailInfo Copy()
        {
            try
            {
                var detailInfo = new DetailInfo();

                detailInfo.Copy(this);

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

                return(null);
            }
        }
Пример #4
0
        public DetailInfo Copy()
        {
            try
              {
            var detailInfo = new DetailInfo();

            detailInfo.Copy(this);

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

            return null;
              }
        }
Пример #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);
            }
        }