Struct InputValidator.ValidationResult
Namespace: Belay.Core.Security
Assembly: Belay.Core.dll
Validation result containing both the validation outcome and security details.
public readonly struct InputValidator.ValidationResult
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ValidationResult(bool, string?, SecurityRiskLevel, IReadOnlyList<string>?)
Initializes a new instance of the struct.
ValidationResult(bool, string?, SecurityRiskLevel, IReadOnlyList<string>?)
Initializes a new instance of the struct.
Properties
Gets the reason for validation failure, or null if validation passed.
Gets the reason for validation failure, or null if validation passed.
Gets a value indicating whether the input passed validation.
Gets a value indicating whether the input passed validation.
Gets the security risk level associated with the input.
Gets the security risk level associated with the input.
Gets additional details about security concerns found in the input.
Gets additional details about security concerns found in the input.