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
isValid
boolIs true when the validity check passes.
message
stringAn 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.