Documentation
Table of Contents

Method TryGet

Namespace
IntentSharp.Catalog
Assembly
IntentSharp.Catalog.dll

TryGet(string, out IntentDefinition)

Finds the definition named name in Definitions. Returns false, with definition null, when there is none. The name is not trimmed.

public bool TryGet(string name, out IntentDefinition definition)

Parameters

name string
definition IntentDefinition

Returns

bool

Exceptions

ArgumentNullException

name is null and Definitions rejects null keys, as the dictionaries of the built-in catalogs do.