private void AddError(string errorPath, LogErrorInfo info)
 {
     List<LogErrorInfo> listErrors;
     if (!Errors.TryGetValue(errorPath, out listErrors))
     {
         listErrors = new List<LogErrorInfo>();
         Errors.Add(errorPath, listErrors);
     }
     listErrors.Add(info);
 }
Example #2
0
        private void AddError(string errorPath, LogErrorInfo info)
        {
            List <LogErrorInfo> listErrors;

            if (!Errors.TryGetValue(errorPath, out listErrors))
            {
                listErrors = new List <LogErrorInfo>();
                Errors.Add(errorPath, listErrors);
            }
            listErrors.Add(info);
        }