A Sandcastle Documented Class Library

# Engine Methods

The Engine type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AddService(Type, ServiceCreatorCallback, Boolean) | Adds the specified service to the service container. (Overrides ServiceContainer AddService(Type, ServiceCreatorCallback, Boolean).)
| AddService(Type, Object, Boolean) | Adds the specified service to the service container. (Overrides ServiceContainer AddService(Type, Object, Boolean).)
| GetService(Type) | Gets the requested service. (Overrides ServiceContainer GetService(Type).)
| GetService T | Gets the service object of the specified type.
| GetService T (Boolean) | Gets the service object of the specified type.
| RemoveService | Removes the specified service type from the service container. (Overrides ServiceContainer RemoveService(Type, Boolean).)
| SetupException TException | Populates an exception with additional information.
| TryGetCurrentEngine | Attempts to get the current engine instance.
| TryGetCurrentSession(Session ) | Gets the session associated with the caller.
| TryGetCurrentSession(Session , Boolean) | Gets the session associated with the caller.

Top
Extension Methods

| Name | Description
--- | --- | ---
| Localize(String, Object ) | Overloaded. (Defined by IEngineExtensions.)
| Localize(Type, Object) | Overloaded. (Defined by IEngineExtensions.)
| Localize TEnum (TEnum) | Overloaded. (Defined by IEngineExtensions.)

Top
See Also

#### Reference

Engine Class
Dundas.BI Namespace