Documentation
Table of Contents

Class CommandCheck

Namespace
IntentSharp.Targets
Assembly
IntentSharp.dll

The verdict on a planned command: whether it may run, the rules it broke, the refusals that are not rules, what the target's inspection found, the guardrail decision and the settings it would run under.

public sealed class CommandCheck
Inheritance
object
CommandCheck
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

CommandCheck()

Creates a check that does not allow the command.

Properties

Allowed

True when the command may run: the guardrail decision allows it and nothing refused it.

Decision

The guardrail decision, with the stamps of the rule sets it was made under; null when no check ran.

Inspection

What the target's inspection found; null when the command was not inspected.

Refusals

Everything that refused the command and is not a rule: the target's own refusals, which always apply; the guardrail check's own refusal (for example a required subject no rule covers); "nothing was checked" when the plan failed or gave no command; a write while data.allowWrites is false. Empty when none.

Settings

The resolved data.* settings the command would run under, by name; empty when no check ran.

Violations

The enforced rules the command broke; empty when none.