Click or drag to resize

ILocalServiceProviderTLocalService Interface

A marker interface which indicates that this service is an local service for wrapper TLocalService

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public interface ILocalServiceProvider<TLocalService>

Type Parameters

TLocalService
The local service service that this upstream wrapper

The ILocalServiceProviderTLocalService type exposes the following members.

Properties
 NameDescription
Public propertyLocalProvider Gets the service which provides explicitly local access
Top
Remarks
There 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