ApplicationContext Methods |
The ApplicationContext type exposes the following members.
| Name | Description | |
|---|---|---|
| AddServiceProvider |
Add service
| |
| Alert |
Alert dialog
| |
| Confirm |
Confirmation dialog
| |
| Demand(String) |
Demand the policy
| |
| Demand(String, IPrincipal) |
Demand policy enforcement
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Exit |
Close the application
| |
| 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 |
Instructs the current application context to get a unique identifier that should be used for encrypting/decrypting the
SanteDB databases. This should be a consistent key (i.e. generate from machine, user SID, etc.).
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetService(Type) |
Gets the service object of the specified type.
| |
| GetServiceTService |
Gets the service.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUserConfiguration |
Gets user preference application
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveServiceProvider |
Remove a service provider
| |
| SaveUserConfiguration |
Save user configuration
| |
| SetProgress |
Sets the progress
| |
| ShowToast |
Shows a toast on the application context
| |
| SoftDemand |
Demand policy enforcement
| |
| Start |
Start the daemon services
| |
| Stop |
Force stop
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AddBusinessRule(Type) | Overloaded.
Add a business rule service to this instance of me or the next instance
(Defined by BusinessRulesExtensions.) | |
| AddBusinessRuleTModel(Type) | Overloaded.
Adds a new business rule service for the specified model to the application service otherwise adds it to the chain
(Defined by BusinessRulesExtensions.) | |
| 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.) | |
| GetBusinessRuleService |
Add a business rule service to this instance of me or the next instance
(Defined by BusinessRulesExtensions.) | |
| GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) | |
| GetRestClient |
Gets the rest client.
(Defined by ConfigurationExtensions.) | |
| GetServiceT |
Helper extension method for getting strongly typed service
(Defined by ApplicationServiceContext.) |