namespace Terminal.Gui.Examples; /// /// Contains performance and execution metrics collected during an example's execution. /// public class ExampleMetrics { /// /// Gets or sets the time when the example started. /// public DateTime StartTime { get; set; } /// /// Gets or sets the time when initialization completed. /// public DateTime? InitializedAt { get; set; } /// /// Gets or sets a value indicating whether initialization completed successfully. /// public bool InitializedSuccessfully { get; set; } /// /// Gets or sets the number of iterations executed. /// public int IterationCount { get; set; } /// /// Gets or sets the time when shutdown began. /// public DateTime? ShutdownAt { get; set; } /// /// Gets or sets a value indicating whether shutdown completed gracefully. /// public bool ShutdownGracefully { get; set; } /// /// Gets or sets the number of times the screen was cleared. /// public int ClearedContentCount { get; set; } /// /// Gets or sets the number of times views were drawn. /// public int DrawCompleteCount { get; set; } /// /// Gets or sets the number of times views were laid out. /// public int LaidOutCount { get; set; } }