IApplicationServiceContext Interface |
Namespace: SanteDB.Core
The IApplicationServiceContext type exposes the following members.
| Name | Description | |
|---|---|---|
| HostType |
Type of application hosting this SanteDB
| |
| IsRunning |
Get whether the service is running
| |
| StartTime |
Gets the start time
|
| Name | Description | |
|---|---|---|
| GetService | Gets the service object of the specified type. (Inherited from IServiceProvider.) | |
| Stop |
Stop the service host context
|
| Name | Description | |
|---|---|---|
| Started |
Fired when the service context is started
| |
| Starting |
Fired when the service context is starting
| |
| Stopped |
Fired when the service has stopped
| |
| Stopping |
Fired when the service is stopping
|
| Name | Description | |
|---|---|---|
| AddBusinessRule(Type) | Overloaded.
Add a business rule service to this instance of me or the next instance
(Defined by BusinessRulesExtensions.) | |
| AddBusinessRuleTModel(Type) | Overloaded.
Adds a new business rule service for the specified model to the application service otherwise adds it to the chain
(Defined by BusinessRulesExtensions.) | |
| GetBusinessRuleService |
Add a business rule service to this instance of me or the next instance
(Defined by BusinessRulesExtensions.) | |
| GetServiceT |
Helper extension method for getting strongly typed service
(Defined by ApplicationServiceContext.) |