| | | 1 | | using System; |
| | | 2 | | using DirectSight.CodeAnalysis; |
| | | 3 | | |
| | | 4 | | namespace DirectSight; |
| | | 5 | | |
| | | 6 | | /// <summary> |
| | | 7 | | /// The context containing configuration and runtime information of the current execution. |
| | | 8 | | /// </summary> |
| | | 9 | | internal class ReportContext |
| | | 10 | | { |
| | | 11 | | /// <summary> |
| | | 12 | | /// Initializes a new instance of the <see cref="ReportContext"/> class. |
| | | 13 | | /// </summary> |
| | | 14 | | /// <param name="reportConfiguration">The configuration options.</param> |
| | 2 | 15 | | internal ReportContext(ReportConfiguration reportConfiguration) |
| | 2 | 16 | | { |
| | 2 | 17 | | this.ReportConfiguration = reportConfiguration ?? throw new ArgumentNullException(nameof(reportConfiguration)); |
| | 2 | 18 | | } |
| | | 19 | | |
| | | 20 | | /// <summary> |
| | | 21 | | /// Gets the configuration options. |
| | | 22 | | /// </summary> |
| | 80 | 23 | | public ReportConfiguration ReportConfiguration { get; } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// Gets or sets the risk hotspot analysis result. |
| | | 27 | | /// </summary> |
| | 10 | 28 | | public RiskHotspotAnalysisResult RiskHotspotAnalysisResult { get; set; } |
| | | 29 | | } |