Engine Class

Represents an instance of the application.
Inheritance Hierarchy

Namespace: Dundas.BI
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public sealed class Engine : ServiceContainer, 
	IEngine, IServiceContainer, IServiceProvider

The Engine type exposes the following members.

Properties
 NameDescription
Public propertyAppDataPathGets the physical path to the application's data folder.
Public propertyApplicationStorageEngineGets the database engine used for application storage.
Public propertyCallerContextGets the currently-executing user context.
Public propertyConfiguration Gets the currently-loaded application configuration.
Public propertyCulture Gets the culture to use for formatting dates, numbers, etc. This will typically be the culture associated with the in-context Session.
Public propertyStatic memberCurrent Gets the currently running instance of the application engine.
Public propertyHostIdentifier Gets the engine host identifier - a unique name that defines the engine host.
Public propertyStatic memberServerGroupId Gets the ID of the server group to which the current server belongs.
Public propertyStatic memberServerNameGets the name of the server.
Public propertyServerQualifiedHostIdentifierGets the server-qualified engine host identifier.
Public propertySession Gets the Session associated with the currently-executing user context.
Public propertyState Gets the state of the application engine.
Public propertyTempDataPathGets the path where any temporary application data is saved.
Public propertyTimeZone Gets the time zone to use for printing dates and times. This will typically be the time zone associated with the in-context Session.
Top
Methods
 NameDescription
Public methodAddService(Type, ServiceCreatorCallback, Boolean)Adds the specified service to the service container.
(Overrides ServiceContainerAddService(Type, ServiceCreatorCallback, Boolean))
Public methodAddService(Type, Object, Boolean)Adds the specified service to the service container.
(Overrides ServiceContainerAddService(Type, Object, Boolean))
Public methodGetService(Type)Gets the requested service.
(Overrides ServiceContainerGetService(Type))
Public methodGetServiceT Gets the service object of the specified type.
Public methodGetServiceT(Boolean) Gets the service object of the specified type.
Public methodRemoveServiceRemoves the specified service type from the service container.
(Overrides ServiceContainerRemoveService(Type, Boolean))
Public methodSetupExceptionTExceptionPopulates an exception with additional information.
Public methodStatic memberTryGetCurrentEngine Attempts to get the current engine instance.
Public methodTryGetCurrentSession(Session) Gets the session associated with the caller.
Public methodTryGetCurrentSession(Session, Boolean)Gets the session associated with the caller.
Top
Events
 NameDescription
Public eventHeartbeatOccurs when the Engine heartbeat happens - approximately every 60 seconds.
Public eventInitialized Occurs during engine startup after all registered services implementing IRequireInitialization have been initialized.
Public eventStarted Occurs when the call to StartEngine has completed.
Public eventStoppedOccurs when a call to ShutdownEngine has completed.
Public eventStoppingOccurs when the call to ShutdownEngine has started.
Top
Fields
 NameDescription
Public fieldStatic memberModuleId GUID representing the application engine module.
Top
Extension Methods
 NameDescription
Public Extension MethodLocalize Gets a localized Web string.
(Defined by IEngineExtensions)
Public Extension MethodLocalize Get a localized web string for particular enumeration value.
(Defined by IEngineExtensions)
Public Extension MethodLocalizeTEnum Get a localized web string for particular enumeration value.
(Defined by IEngineExtensions)
Top
See Also