Class Verification.Entry
Represents a single verification result entry within the Verification process.
public class Verification.Entry : IJsonSerializable
- Inheritance
-
Verification.Entry
- Implements
- Inherited Members
Remarks
Each entry consists of a Verification.ProblemId indicating the type of problem detected, and an associated data object (e.g., a measurement or result) that caused the issue.
Constructors
Entry(ProblemId, object)
Initializes a new instance of the Verification.Entry class.
public Entry(Verification.ProblemId problem, object data)
Parameters
problem
Verification.ProblemIdThe specific problem identifier.
data
objectThe data related to the problem, such as a measurement.
Properties
Data
Gets the data object associated with the problem (e.g., a measurement or result).
public object Data { get; }
Property Value
Problem
Gets the problem type that this entry represents.
public Verification.ProblemId Problem { get; }
Property Value
Methods
ToJson()
Converts this entry into a JSON object containing the problem ID, its name, and the serialized data (if available).
public JsonNode ToJson()
Returns
ToString()
Returns a string that represents the current verification entry.
public override string ToString()
Returns
- string
A string describing the problem type and the associated data.