![]() | DependencyServiceManager Class |
Namespace: SanteDB.Core.Services.Impl
The DependencyServiceManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | DependencyServiceManager |
Creates a new dependency service manager
|
Name | Description | |
---|---|---|
![]() | IsRunning |
True if the service is running
|
![]() | ServiceName |
Gets the service name
|
Name | Description | |
---|---|---|
![]() | AddServiceFactory |
Add a service factory
|
![]() | AddServiceProvider(Object) |
Adds a singleton
|
![]() | AddServiceProvider(Type) |
Adds a service provider
|
![]() | CreateInjected(Type) |
Create injected type
|
![]() | CreateInjectedTObject |
Create injected instance
|
![]() | CreateInjectedOfAllTInterface |
Create injected instances of all implementers of the specified TInterface |
![]() | Dispose |
Dispose of this object
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetAllTypes |
Get all types
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetService |
Get the specified service
|
![]() | GetServices |
Gets all service instances
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemoveServiceProvider |
Remove a service provider
|
![]() | Start |
Start the process
|
![]() | Stop |
Stop this instance
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | Started |
Application has started
|
![]() | Starting |
Application is starting
|
![]() | Stopped |
Application has stopped
|
![]() | Stopping |
Application 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.) |
![]() | ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods.) |
![]() | GetBusinessRuleService |
Add a business rule service to this instance of me or the next instance
(Defined by BusinessRulesExtensions.) |
![]() | GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |
![]() | GetServiceT |
Helper extension method for getting strongly typed service
(Defined by ApplicationServiceContext.) |
The dependency injection service manager is responsible for:
Note: You must have an IConfigurationManager instance registered in the application service context prior to calling the Start() method on this class