Engine Class

Represents an instance of the application.
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 (24.4.0.1000)
Syntax
public sealed class Engine : ServiceContainer, 
	IEngine, IServiceContainer, IServiceProvider

The Engine type exposes the following members.

Properties
  NameDescription
Public propertyAppDataPath
Gets the physical path to the application's data folder.
Public propertyApplicationStorageEngine
Gets the database engine used for application storage.
Public propertyCallerContext
Gets 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 memberServerName
Gets the name of the server.
Public propertyServerQualifiedHostIdentifier
Gets 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 propertyTempDataPath
Gets 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 methodRemoveService
Removes the specified service type from the service container.
(Overrides ServiceContainerRemoveService(Type, Boolean).)
Public methodSetupExceptionTException
Populates 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 eventHeartbeat
Occurs 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
Public eventStopped
Public eventStopping
Top
Fields
  NameDescription
Public fieldStatic memberModuleId
GUID representing the application engine module.
Top
Extension Methods
See Also