[]
        
(Showing Draft Content)

C1.Web.Api.Configuration.Manager-1

Manager<T> Class

The base Manager class. It is used to manage the specified type instances.

Namespace: C1.Web.Api.Configuration
Assembly: C1.Web.Api.dll
Syntax
public class Manager<T>
Type Parameters
Name Description
T

The type of the instance which is managed.

Constructors

Name Description
Manager()

Properties

Name Description
Items

Gets the map of the items which are maintained.

Methods

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.