Table of Contents

Class TMPCommandDatabase

Stores TMPCommand.

public class TMPCommandDatabase : TMPEffectDatabase<TMPCommand>, ITMPEffectDatabase<TMPCommand>, ITMPEffectDatabase, INotifyObjectChanged
Inheritance
TMPCommandDatabase
Implements
Inherited Members

Methods

ContainsEffect(string)

Check whether this database contains a command associated with the given name.

public override bool ContainsEffect(string name)

Parameters

name string

The identifier of the command.

Returns

bool

true if this database contains a command associated with the given name; false otherwise.

GetEffect(string)

Get the command associated with the given name.

public override TMPCommand GetEffect(string name)

Parameters

name string

The identifier of the command.

Returns

TMPCommand

The command associated with the given name.

Exceptions

KeyNotFoundException
InvalidOperationException