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
catalogIIntentCatalogThe catalog whose intents are listed, read at each request.
includeFunc<IntentDefinition, bool>Chooses the intents to list. Null lists all of them.
Exceptions
- ArgumentNullException
catalogis null.