CommonApplicationLogic MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The CommonApplicationLogic type exposes the following members.
Constructors

  NameDescription
Protected methodCommonApplicationLogic
Initializes a new instance of the CommonApplicationLogic class
Back to Top
Methods

  NameDescription
Protected methodBeforeDataStoreStart
Override to prep data store implementation i.e. inject something programmaticaly
Protected methodBeforeEventTimerStart
Override to prep event timer implementation i.e. inject something programmaticaly
Protected methodBeforeGlueStart
Override to prep glue implementation i.e. inject something programmaticaly
Protected methodBeforeInstrumentationStart
Override to prep instr implementation i.e. inject something programmaticaly
Protected methodBeforeLogStart
Override to prep log implementation i.e. inject log destinations programmaticaly
Protected methodBeforeObjectStoreStart
Override to prep object store implementation i.e. inject something programmaticaly
Protected methodBeforeSecurityManagerStart
Override to prep security manager implementation i.e. inject something programmaticaly
Protected methodBeforeThrottlingStart
Override to prep throttling implementation i.e. inject something programmaticaly
Protected methodBeforeTimeSourceStart
Override to prep time source implementation i.e. inject something programmaticaly
Protected methodCleanupApplication
Protected methodDestructor (Overrides DisposableObject Destructor .)
Public methodDispose
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.)
Protected methodDoCleanupApplication
Protected methodDoInitApplication
Public methodEnsureObjectNotDisposed
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.)
Public methodOnlineEquals
Determines whether the specified object is equal to the current object.
(Inherited from OnlineObject.)
Protected methodFinalize (Inherited from DisposableObject.)
Protected methodGetDefaultConfigFileName
Tries to find a configuration file name looping through various supported estensions
Public methodOnlineGetHashCode
Serves as the default hash function.
(Inherited from OnlineObject.)
Protected methodGetStarters
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodInitApplication
Public methodLocalizedTimeToUniversalTime
Converts localized time to UTC time as of TimeLocation property
Public methodMakeNewSessionInstance
Makes BaseSession instance
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNotifyAllConfigSettingsAboutChange 
Forces notification of all registered IConfigSettings-implementers about configuration change
Protected methodNotifyAllConfigSettingsAboutChange(IConfigSectionNode)
Forces notification of all registered IConfigSettings-implementers about configuration change
Public methodPreloadAssemblies
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
Public methodRegisterAppFinishNotifiable
Registers an instance of IApplicationFinishNotifiable with application container to receive a call when underlying application instance will finish its lifecycle
Public methodRegisterConfigSettings
Registers an instance of IConfigSettings with application container to receive a call when underlying app configuration changes
Public methodStop
Initiates the stop of the application by setting its Stopping to true and Active to false so dependent services may start to terminate
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodUniversalTimeToLocalizedTime
Converts universal time to local time as of TimeLocation property
Public methodUnregisterAppFinishNotifiable
Removes the registration of IConfigSettings from application container
Public methodUnregisterConfigSettings
Removes the registration of IConfigSettings from application container
Protected methodWriteLog
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsBool (Defined by ObjectValueConversion.)
Public Extension MethodAsByte (Defined by ObjectValueConversion.)
Public Extension MethodAsChar (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime(DateTime, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID(GDID, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol(GDIDSymbol, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsInt (Defined by ObjectValueConversion.)
Public Extension MethodAsJSONConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLaconicConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLong (Defined by ObjectValueConversion.)
Public Extension MethodAsNonNullOrEmptyString (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableBool (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableChar (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDateTime (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDIDSymbol (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableLong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableShort (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableTimeSpan (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableULong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsShort (Defined by ObjectValueConversion.)
Public Extension MethodAsString (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan(TimeSpan, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsULong (Defined by ObjectValueConversion.)
Public Extension MethodAsUri (Defined by ObjectValueConversion.)
Public Extension MethodAsUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsXMLConfig (Defined by ObjectValueConversion.)
Public Extension MethodToErlObject Overloaded.
Try to convert .NET native object type to corresponding Erlang term. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToErlObject(ErlTypeOrder, Boolean)Overloaded.
Try to convert .NET native object type to corresponding Erlang term of given type. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToJSON(JSONWritingOptions)Overloaded.
Serializes object into JSON string
(Defined by JSONExtensions.)
Public Extension MethodToJSON(TextWriter, JSONWritingOptions)Overloaded.
Serializes object into JSON format using provided TextWriter
(Defined by JSONExtensions.)
Public Extension MethodToJSON(Stream, JSONWritingOptions, Encoding)Overloaded.
Serializes object into JSON format using provided stream and optional encoding
(Defined by JSONExtensions.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberCONFIG_APP_NAME_ATTR
Public fieldStatic memberCONFIG_ASSEMBLY_SECTION
Public fieldStatic memberCONFIG_DATA_STORE_SECTION
Public fieldStatic memberCONFIG_ENABLED_ATTR
Public fieldStatic memberCONFIG_EVENT_TIMER_SECTION
Public fieldStatic memberCONFIG_GLUE_SECTION
Public fieldStatic memberCONFIG_INSTRUMENTATION_SECTION
Public fieldStatic memberCONFIG_LOG_SECTION
Public fieldStatic memberCONFIG_MEMORY_MANAGEMENT_SECTION
Public fieldStatic memberCONFIG_OBJECT_STORE_SECTION
Public fieldStatic memberCONFIG_PATH_ATTR
Public fieldStatic memberCONFIG_PRELOAD_ASSEMBLIES_SECTION
Public fieldStatic memberCONFIG_SECURITY_SECTION
Public fieldStatic memberCONFIG_STARTER_SECTION
Public fieldStatic memberCONFIG_STARTERS_SECTION
Public fieldStatic memberCONFIG_SWITCH
Public fieldStatic memberCONFIG_THROTTLING_SECTION
Public fieldStatic memberCONFIG_TIMESOURCE_SECTION
Public fieldStatic memberCONFIG_UNIT_TEST_ATTR
Protected fieldm_ConfigRoot
Protected fieldm_ConfigSettings
Protected fieldm_DataStore
Protected fieldm_EventTimer
Protected fieldm_FinishNotifiables
Protected fieldm_Glue
Protected fieldm_Instrumentation
Protected fieldm_Log
Protected fieldm_ObjectStore
Protected fieldm_SecurityManager
Protected fieldm_Throttling
Protected fieldm_TimeSource
Back to Top
Properties

  NameDescription
Public propertyActive
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
Public propertyConfigRoot
Provides access to configuration root for the whole application
Public propertyDataStore
References application data store
Public propertyDisposed
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.)
Public propertyDisposeStarted
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.)
Public propertyEventTimer
References event timer which maintains and runs scheduled Event instances
Public propertyGlue
References glue that can be used to interconnect remote instances
Public propertyInstanceID
Returns unique identifier of this running instance
Public propertyInstrumentation
References application instrumentation
Public propertyIsUnitTest
Public propertyLocalizedTime
Returns current time localized per TimeLocation
Public propertyLog
References application logger
Public propertyName
Returns the name of this application
Public propertyObjectStore
References application object store. Objects will survive application termination
Public propertySecurityManager
References security manager that performs user authentication based on passed credentials and other security-related global tasks
Public propertyShutdownStarted
Returns true to indicate that Dispose() has been called and shutdown has started
Public propertyStartTime
Returns timestamp when application started as localized app time
Public propertyStopping
Returns true to indicate that Stop() was called
Public propertyThrottling
References application throttling
Public propertyTimeLocation
Returns time location of this LocalizedTimeProvider implementation
Public propertyTimeSource
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)
Back to Top
See Also