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
clientIntentClientThe client that runs the plan intent and the guardrail checks; its document store holds a replaced plan intent.
targetITargetThe target.
optionsTargetRuntimeOptionsThe rule sets, the plan intent, the code layer of the settings and the logger; null uses the defaults.
Exceptions
- ArgumentNullException
clientortargetis 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.