[This is preliminary documentation and is subject to change.]
The IApplication type exposes the following members.Methods
Name | Description | |
---|---|---|
![]() | LocalizedTimeToUniversalTime |
Converts localized time to UTC time as of TimeLocation property
(Inherited from ILocalizedTimeProvider.) |
![]() | MakeNewSessionInstance |
Factory method that creates new session object suitable for partcular application type
|
![]() | NotifyAllConfigSettingsAboutChange |
Forces notification of all registered IConfigSettings-implementers about configuration change
|
![]() | RegisterAppFinishNotifiable |
Registers an instance of IApplicationFinishNotifiable with application container to receive a call when
underlying application instance will finish its lifecycle.
|
![]() | RegisterConfigSettings |
Registers an instance of IConfigSettings with application container to receive a call when
underlying app configuration changes
|
![]() | Stop |
Initiates the stop of the application by setting its Stopping to true and Active to false so dependent services may start to terminate
|
![]() | UniversalTimeToLocalizedTime |
Converts universal time to local time as of TimeLocation property
(Inherited from ILocalizedTimeProvider.) |
![]() | UnregisterAppFinishNotifiable |
Removes the registration of IApplicationFinishNotifiable from application container
|
![]() | UnregisterConfigSettings |
Removes the registration of IConfigSettings from application container
|
Properties
Name | Description | |
---|---|---|
![]() | Active |
Returns true when application instance is active and working. This property returns false as soon as application finalization starts on shutdown or Stop() was called
Use to exit long-running loops and such
|
![]() | ConfigRoot |
References application configuration root
|
![]() | DataStore |
References application data store
|
![]() | EventTimer |
References event timer - an entity that maintains and runs scheduled instances of Event
|
![]() | Glue |
References glue implementation that may be used to "glue" remote instances/processes/contracts together
|
![]() | InstanceID |
Returns unique identifier of this running instance
|
![]() | Instrumentation |
References instrumentation for this application instance
|
![]() | IsUnitTest |
True if app is launched as a unit test as set by the app config "unit-test=true"
The general use of this flag is discouraged as code cnstructs should not form special cases just for unit testing,
however in some cases this flag is usefull. It is not exposed via App. static accessors
|
![]() | LocalizedTime |
Returns current time localized per TimeLocation
(Inherited from ILocalizedTimeProvider.) |
![]() | Log |
References app log
|
![]() | Name | (Inherited from INamed.) |
![]() | ObjectStore |
References object store that may be used to persist object graphs between volatile application shutdown cycles
|
![]() | SecurityManager |
References security manager that performs user authentication based on passed credentials and other security-related global tasks
|
![]() | ShutdownStarted |
Returns true after Dispose() was called to indicate that application is shutting down
|
![]() | StartTime |
Returns timestamp when application started as localized app time
|
![]() | Stopping |
Returns true after Stop() was called
|
![]() | Throttling |
References throttling for this application instance
|
![]() | TimeLocation |
Returns the location
(Inherited from ILocalizedTimeProvider.) |
![]() | TimeSource |
References time source - an entity that supplies local and UTC times. The concrete implementation
may elect to get accurate times from the network or other external precision time sources (i.e. NASA atomic clock)
|
See Also