[]
The base Manager class. It is used to manage the specified type instances.
public class Manager<T>
Name | Description |
---|---|
T | The type of the instance which is managed. |
Name | Description |
---|---|
Manager() |
Name | Description |
---|---|
Items | Gets the map of the items which are maintained. |
Name | Description |
---|---|
Add(string, T) | Add item with the key to the manager. |
Contains(string) | Gets a boolean value which indicates whether the key exists in the manager. |
Get(string) | Gets the instance which is mapped to the specified key. |
Remove(string) | Remove the item with the specified key. |
TryGet(string, out T) | Try to get the instance which is mapped to the specified key. |