Documentation
Table of Contents

Constructor TargetRuntime

Namespace
IntentSharp.Targets
Assembly
IntentSharp.dll

TargetRuntime(IntentClient, ITarget, TargetRuntimeOptions?)

Creates a runtime over target that plans with client.

public TargetRuntime(IntentClient client, ITarget target, TargetRuntimeOptions? options = null)

Parameters

client IntentClient

The client that runs the plan intent and the guardrail checks; its document store holds a replaced plan intent.

target ITarget

The target.

options TargetRuntimeOptions

The rule sets, the plan intent, the code layer of the settings and the logger; null uses the defaults.

Exceptions

ArgumentNullException

client or target is null.

ArgumentException

The target has no name, a rule set name is empty, the plan intent's name cannot name a document, or both a result limit and its removal are set.

ArgumentOutOfRangeException

A setting in Settings is zero, negative or too long.