| ServiceInstantiationType Enumeration |
Service instantiation type
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax public enum ServiceInstantiationType
Public Enumeration ServiceInstantiationType
public enum class ServiceInstantiationType
type ServiceInstantiationType
Members
| Member name | Value | Description |
---|
| Singleton | 0 |
The service class is constructed once and one instance is shared in the entire application domain
|
| PerCall | 1 |
The service class is instantiated for each call of GetService()
|
See Also