Skip to main content

Methods

Check()

Checks a run against the manifest: the action is declared, it names an object exactly when it runs on one, and its fields are the declared ones, each of its kind.

Parameters

string
required
string
required
JsonObject
required

Outcome()

The outcome as it crosses the wire, with its returns written as JSON.

Type Parameters

required

Parameters

ActionOutcome<<TReturns>>
required
Func<TReturns, JsonObject>
required

Returns

ActionOutcome

RequiredSwitch()

A required switch’s value.

Parameters

JsonObject
required
string
required

Returns

bool

RequiredText()

A required text field’s value.

Parameters

JsonObject
required
string
required

Returns

string

Switch()

A switch’s value, or null when it is not filled in.

Parameters

JsonObject
required
string
required

Returns

bool?

Text()

A text field’s value, or null when it is not filled in.

Parameters

JsonObject
required
string
required

Returns

string