Struct Validity
- Namespace
- Pie
- Assembly
- Pie.dll
Represents the result of a validity check.
public struct Validity
- Inherited Members
Constructors
Validity(bool, string)
Create a new Validity result.
public Validity(bool isValid, string message)
Parameters
isValidboolIs true when the validity check passes.
messagestringAn accompanying message, if any.
Fields
IsValid
Is true when the validity check passes.
public readonly bool IsValid
Field Value
- bool
- Represents the result of a validity check.
Message
public readonly string Message
Field Value
- string
- Represents the result of a validity check.