[This is preliminary documentation and is subject to change.]
The CommonApplicationLogic type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| CommonApplicationLogic | Initializes a new instance of the CommonApplicationLogic class |
Methods
| Name | Description | |
|---|---|---|
| BeforeDataStoreStart |
Override to prep data store implementation i.e. inject something programmaticaly
| |
| BeforeEventTimerStart |
Override to prep event timer implementation i.e. inject something programmaticaly
| |
| BeforeGlueStart |
Override to prep glue implementation i.e. inject something programmaticaly
| |
| BeforeInstrumentationStart |
Override to prep instr implementation i.e. inject something programmaticaly
| |
| BeforeLogStart |
Override to prep log implementation i.e. inject log destinations programmaticaly
| |
| BeforeObjectStoreStart |
Override to prep object store implementation i.e. inject something programmaticaly
| |
| BeforeSecurityManagerStart |
Override to prep security manager implementation i.e. inject something programmaticaly
| |
| BeforeThrottlingStart |
Override to prep throttling implementation i.e. inject something programmaticaly
| |
| BeforeTimeSourceStart |
Override to prep time source implementation i.e. inject something programmaticaly
| |
| CleanupApplication | ||
| Destructor | (Overrides DisposableObject Destructor .) | |
| Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) | |
| DoCleanupApplication | ||
| DoInitApplication | ||
| EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) | |
Determines whether the specified object is equal to the current object. (Inherited from | ||
| Finalize | (Inherited from DisposableObject.) | |
| GetDefaultConfigFileName |
Tries to find a configuration file name looping through various supported estensions
| |
Serves as the default hash function. (Inherited from | ||
| GetStarters | ||
Gets the (Inherited from | ||
| InitApplication | ||
| LocalizedTimeToUniversalTime |
Converts localized time to UTC time as of TimeLocation property
| |
| MakeNewSessionInstance |
Makes BaseSession instance
| |
Creates a shallow copy of the current (Inherited from | ||
| NotifyAllConfigSettingsAboutChange |
Forces notification of all registered IConfigSettings-implementers about configuration change
| |
| NotifyAllConfigSettingsAboutChange(IConfigSectionNode) |
Forces notification of all registered IConfigSettings-implementers about configuration change
| |
| PreloadAssemblies |
RESERVED for future use. Loads assemblies specified in 'preload-assemblies' section from disk optionally checking the 'enabled' flag.
This method is called on application startup by the framework
| |
| 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
| |
Returns a string that represents the current object. (Inherited from | ||
| UniversalTimeToLocalizedTime |
Converts universal time to local time as of TimeLocation property
| |
| UnregisterAppFinishNotifiable |
Removes the registration of IConfigSettings from application container
| |
| UnregisterConfigSettings |
Removes the registration of IConfigSettings from application container
| |
| WriteLog |
Extension Methods
Fields
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
Use to exit long-running loops and such
| |
| ConfigRoot |
Provides access to configuration root for the whole application
| |
| DataStore |
References application data store
| |
| Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) | |
| DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) | |
| EventTimer |
References event timer which maintains and runs scheduled Event instances
| |
| Glue |
References glue that can be used to interconnect remote instances
| |
| InstanceID |
Returns unique identifier of this running instance
| |
| Instrumentation |
References application instrumentation
| |
| IsUnitTest | ||
| LocalizedTime |
Returns current time localized per TimeLocation
| |
| Log |
References application logger
| |
| Name |
Returns the name of this application
| |
| ObjectStore |
References application object store. Objects will survive application termination
| |
| SecurityManager |
References security manager that performs user authentication based on passed credentials and other security-related global tasks
| |
| ShutdownStarted |
Returns true to indicate that Dispose() has been called and shutdown has started
| |
| StartTime |
Returns timestamp when application started as localized app time
| |
| Stopping |
Returns true to indicate that Stop() was called
| |
| Throttling |
References application throttling
| |
| TimeLocation |
Returns time location of this LocalizedTimeProvider implementation
| |
| 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