IAuditCache
Pennington.Generation
Singleton store for the most recent audit pass. Read by the dev-mode overlay processor (per request, filtered to the current route) and by OutputGenerationService at the end of a static build (copied into the BuildReport).
Properties
DiagnosticsImmutableList<BuildDiagnostic>- The diagnostics produced by the most recent run, in insertion order.
Events
Updated
#public event Action Updated
Raised after the cache is replaced. Use to log or refresh derived state.
Pennington.Generation.IAuditCache
namespace Pennington.Generation;
/// Singleton store for the most recent audit pass. Read by the dev-mode overlay processor (per request, filtered to the current route) and by OutputGenerationService at the end of a static build (copied into the BuildReport).
public interface IAuditCache
{
/// The diagnostics produced by the most recent run, in insertion order.
public ImmutableList<BuildDiagnostic> Diagnostics { get; }
/// Raised after the cache is replaced. Use to log or refresh derived state.
public event Action Updated
;
}