Class ValidationIssue
One validate() finding: where it is, how bad it is, and what is wrong.
public class ValidationIssue : IDisposable
- Inheritance
-
ValidationIssue
- Implements
- Inherited Members
Constructors
ValidationIssue()
public ValidationIssue()
ValidationIssue(ValidationIssue)
Copy-construct: a deep copy of other (the C++ copy constructor).
public ValidationIssue(ValidationIssue other)
Parameters
otherValidationIssue
ValidationIssue(ValidationSeverity, string, string)
public ValidationIssue(ValidationSeverity severity, string path, string message)
Parameters
severityValidationSeveritypathstringmessagestring
Properties
Message
What is wrong, with the numbers involved.
public string Message { get; set; }
Property Value
Path
Member path from the validated entity, e.g. "groups[3].body.indices".
public string Path { get; set; }
Property Value
Severity
Whether the client would misread the file (error) or merely find it unusual (warning).
public ValidationSeverity Severity { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Reference-identity hash (the C++ type has no hash to mirror).
public override int GetHashCode()
Returns
Operators
operator ==(ValidationIssue?, ValidationIssue?)
public static bool operator ==(ValidationIssue? l, ValidationIssue? r)
Parameters
Returns
operator !=(ValidationIssue?, ValidationIssue?)
public static bool operator !=(ValidationIssue? l, ValidationIssue? r)