namespace Terminal.Gui.Examples; /// /// Contains the result of running an example application. /// public class ExampleResult { /// /// Gets or sets a value indicating whether the example completed successfully. /// public bool Success { get; set; } /// /// Gets or sets the exit code of the example process (for out-of-process execution). /// public int? ExitCode { get; set; } /// /// Gets or sets a value indicating whether the example timed out. /// public bool TimedOut { get; set; } /// /// Gets or sets any error message that occurred during execution. /// public string? ErrorMessage { get; set; } /// /// Gets or sets the performance metrics collected during execution. /// public ExampleMetrics? Metrics { get; set; } /// /// Gets or sets the standard output captured during execution. /// public string? StandardOutput { get; set; } /// /// Gets or sets the standard error captured during execution. /// public string? StandardError { get; set; } }