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); }
public void Add(MethodError item) { _callErrors.Add(item); }