using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.Logging { /// /// Represents an application crash event arguments /// /// public class ApplicationCrashedEventArgs : EventArgs { /// /// Gets or sets the error. /// public Exception Exception { get; set; } /// /// Gets or sets a value indicating whether to attempt recovering from this crash and ignoring the exception. /// public bool TryRecover { get; set; } /// /// Initializes a new instance of the class. /// /// The error. public ApplicationCrashedEventArgs(Exception exception) { Exception = exception; } } }