Class ContentCensusReport
The reconciliation of a mod's ContentExpectations with each side's observation. It passes only when every side with expectations was observed, by that side itself, with the pinned build of the owner, and every entry is Present; a side problem, and every other state, fails it.
public sealed class ContentCensusReport
- Inheritance
-
objectContentCensusReport
Properties
Entries
public IReadOnlyList<CensusEntry> Entries { get; }
Property Value
- IReadOnlyList<CensusEntry>
Failures
Every side problem and every entry that is not present, one line each.
public IReadOnlyList<string> Failures { get; }
Property Value
- IReadOnlyList<string>
Owner
public string Owner { get; }
Property Value
- string
Passed
public bool Passed { get; }
Property Value
- bool
Sides
public IReadOnlyList<CensusSideResult> Sides { get; }
Property Value
- IReadOnlyList<CensusSideResult>
Methods
RequirePassed()
Throws unless the census passed, naming every failure.
public void RequirePassed()