DcApplicationContext Class |
Namespace: SanteDB.DisconnectedClient.UI
The DcApplicationContext type exposes the following members.
Name | Description | |
---|---|---|
DcApplicationContext |
Initializes a new instance of the DcApplicationContext class.
|
Name | Description | |
---|---|---|
Application |
Get the application
(Overrides ApplicationContextApplication.) | |
Configuration |
Gets the configuration manager
(Inherited from ApplicationContext.) | |
ConfigurationManager |
Gets the configuration manager
(Inherited from ApplicationContext.) | |
ConfigurationPersister |
Gets the configuration persister
(Inherited from ApplicationContext.) | |
Device |
Gets the device information for the currently running device
(Inherited from ApplicationContext.) | |
ExecutionUuid |
Execution UUID
(Inherited from ApplicationContext.) | |
HostType |
Gets or sets the host type
(Overrides ApplicationContextHostType.) | |
IdentityProviderService |
Gets the identity provider service.
(Inherited from ApplicationContext.) | |
InstanceName |
Gets the instance name
| |
IsRunning |
Returns true if service is running
(Inherited from ApplicationContext.) | |
Modes |
Gets or sets the synchronization modes
(Overrides ApplicationContextModes.) | |
PolicyDecisionService |
Gets the policy decision service.
(Inherited from ApplicationContext.) | |
PolicyInformationService |
Gets the policy information service.
(Inherited from ApplicationContext.) | |
RoleProviderService |
Gets the role provider service.
(Inherited from ApplicationContext.) | |
ServiceName |
Get the service name
(Inherited from ApplicationContext.) | |
StartTime |
Gets the start time of the service
(Inherited from ApplicationContext.) |
Name | Description | |
---|---|---|
AddServiceProvider |
Add service
(Inherited from ApplicationContext.) | |
Alert |
Show an alert
(Overrides ApplicationContextAlert(String).) | |
Confirm |
Confirmation
(Overrides ApplicationContextConfirm(String).) | |
Demand(String) |
Demand the policy
(Inherited from ApplicationContext.) | |
Demand(String, IPrincipal) |
Demand policy enforcement
(Inherited from ApplicationContext.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Exit |
Exit the application
(Overrides ApplicationContextExit.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCurrentContextSecurityKey |
In the SanteDB DC setting the current context security key is the current windows user SID (since we're storing data in appdata it is
encrypted per user SID)
(Overrides ApplicationContextGetCurrentContextSecurityKey.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetService(Type) |
Gets the service object of the specified type.
(Inherited from ApplicationContext.) | |
GetServiceTService |
Gets the service.
(Inherited from ApplicationContext.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUserConfiguration |
Gets user preference application
(Inherited from ApplicationContext.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveServiceProvider |
Remove a service provider
(Inherited from ApplicationContext.) | |
SaveUserConfiguration |
Save user configuration
(Inherited from ApplicationContext.) | |
SetProgress |
Sets the progress
(Inherited from ApplicationContext.) | |
ShowToast |
Show toast
(Overrides ApplicationContextShowToast(String).) | |
SoftDemand |
Demand policy enforcement
(Inherited from ApplicationContext.) | |
Start |
Start the daemon services
(Inherited from ApplicationContext.) | |
StartContext |
Start the application context
| |
StartRestore |
Start a restore context
| |
StartTemporary |
Starts the application context using in-memory default configuration for the purposes of
configuring the software
| |
Stop |
Force stop
(Inherited from ApplicationContext.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Started |
Fired when the application startup has completed
(Inherited from ApplicationContext.) | |
Starting |
Fired when the application is starting
(Inherited from ApplicationContext.) | |
Stopped |
Fired when the application has stopped
(Inherited from ApplicationContext.) | |
Stopping |
Fired when the application is stopping
(Inherited from ApplicationContext.) |
Name | Description | |
---|---|---|
m_tracer | (Inherited from ApplicationContext.) |
Name | Description | |
---|---|---|
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.) | |
GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) | |
GetRestClient |
Gets the rest client.
(Defined by ConfigurationExtensions.) |