Manager method

Returns a manager of the specified type.

Namespace: ReFlex.Data namespace
Assembly: ReFlex.Data.dll

Syntax

public ManagerType Manager<ManagerType>()
public IManager Manager(Type managerType)

Examples

// get using generic method
ManagerHost host = new ManagerHost();
ContactManager contactManager = host.Manager<ContactManager>();

// get using type
ManagerHost host = new ManagerHost();
ContactManager contactManager = host.Manager(typeof(ContactManager));