IntelligenceX
Class

AnalysisCatalogValidationResult

IntelligenceX.Analysis

Namespace
IntelligenceX.Analysis
Assembly
IntelligenceX
Modifiers
sealed

Validation outcome for analysis rule and pack catalogs.

Inheritance

  • object
  • AnalysisCatalogValidationResult

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public AnalysisCatalogValidationResult(IReadOnlyList<string> errors, IReadOnlyList<string> warnings) #

Creates a validation result.

Parameters

errors System.Collections.Generic.IReadOnlyList<string> required
warnings System.Collections.Generic.IReadOnlyList<string> required

Methods

public string BuildSummary() #

Builds a short one-line summary string.

Returns

string
public AnalysisCatalogValidationResult Normalize() #

Creates a normalized result with deterministic ordering.

Properties

public bool IsValid { get; } #

True when no validation errors were found.

public IReadOnlyList<string> Errors { get; } #

Validation errors that should block catalog usage.

public IReadOnlyList<string> Warnings { get; } #

Validation warnings that should be reviewed but do not block by themselves.

public int IssueCount { get; } #

Total number of discovered issues (errors + warnings).