Table of Contents

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 bool

Is true when the validity check passes.

message string

An 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

An accompanying message, if any. This is only set if IsValid is false.

public readonly string Message

Field Value

string
Represents the result of a validity check.