Table of Contents

Interface ITagCollectionManager<TKey>

Namespace
TMPEffects.Tags.Collections
Assembly
TMPEffects.dll

Interface for a manager of ITagCollection.

public interface ITagCollectionManager<TKey>

Type Parameters

TKey

Properties

this[TKey]

Get the ITagCollection associated with the given key.

ITagCollection this[TKey key] { get; }

Parameters

key TKey

The key.

Property Value

ITagCollection

The ITagCollection associated with the given key.

Exceptions

KeyNotFoundException

Methods

AddKey(TKey)

Add a key. This will automatically create an associated ITagCollection.

ITagCollection AddKey(TKey key)

Parameters

key TKey

The key to add.

Returns

ITagCollection

The automatically created ITagCollection.

RemoveKey(TKey)

Remove a key.

bool RemoveKey(TKey key)

Parameters

key TKey

The key to remove.

Returns

bool

true if the key was removed; false otherwise.