Documentation
Table of Contents

Constructor InMemoryIntentCatalog

Namespace
IntentSharp.Catalog
Assembly
IntentSharp.Catalog.dll

InMemoryIntentCatalog()

Creates an empty catalog.

public InMemoryIntentCatalog()

InMemoryIntentCatalog(IEnumerable<IntentDefinition>)

Creates a catalog holding definitions, each added as by Add(IntentDefinition).

public InMemoryIntentCatalog(IEnumerable<IntentDefinition> definitions)

Parameters

definitions IEnumerable<IntentDefinition>

Exceptions

ArgumentNullException

definitions or one of its items is null.

ArgumentException

A definition is invalid, or two share a name.