예제 #1
0
        public void Add(string message, string stackTrace, string tag, bool asWarning)
        {
            var err = new MethodError
            {
                DomainName = AppDomain.CurrentDomain.FriendlyName,
                Message    = message,
                StackTrace = stackTrace ?? "",
                Tag        = tag ?? "",
                AsWarning  = asWarning
            };

            Add(err);
        }
예제 #2
0
 public void Add(MethodError item)
 {
     _callErrors.Add(item);
 }