Documentation
Table of Contents

Constructor CatalogContextSource

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

CatalogContextSource(IIntentCatalog, Func<IntentDefinition, bool>?)

Creates the source.

public CatalogContextSource(IIntentCatalog catalog, Func<IntentDefinition, bool>? include = null)

Parameters

catalog IIntentCatalog

The catalog whose intents are listed, read at each request.

include Func<IntentDefinition, bool>

Chooses the intents to list. Null lists all of them.

Exceptions

ArgumentNullException

catalog is null.