DcApplicationContext Methods |
The DcApplicationContext type exposes the following members.
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 | |
---|---|---|
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.) |