 | ILocalServiceProviderTLocalService Interface |
A marker interface which indicates that this service is an local service for wrapper TLocalService
Namespace: SanteDB.Core.ServicesAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic interface ILocalServiceProvider<TLocalService>
Public Interface ILocalServiceProvider(Of TLocalService)
generic<typename TLocalService>
public interface class ILocalServiceProvider
type ILocalServiceProvider<'TLocalService> = interface end
Type Parameters
- TLocalService
- The local service service that this upstream wrapper
The ILocalServiceProviderTLocalService type exposes the following members.
Properties| | Name | Description |
|---|
 | LocalProvider |
Gets the service which provides explicitly local access
|
Top
RemarksThere are contexts where SanteDB operates where the a service provider must rely on a local fallback. For example,
the
IIdentityProviderService which operates in a synchronization mode must attempt to contact the upstream
prior to contacting the local identity provider service. This interface allows these services to identify and differentiate between
a service provider which provides local funcitonality only. The
LocalProvider property is a pointer to the service itself,
and is used to overcome the fact that
ILocalService<TLocalService> : TLocalService is not permitted.
See Also