Class NOPApplication
Represents an application that consists of pure-nop providers, consequently
this application does not log, does not store data and does not do anything else
still satisfying its contract
Inheritance
System.Object
NOPApplication
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Azos.dll
Syntax
public class NOPApplication : IApplication, INamed, ILocalizedTimeProvider
Constructors
NOPApplication()
Declaration
protected NOPApplication()
Fields
m_CommandArgsConfiguration
Declaration
protected MemoryConfiguration m_CommandArgsConfiguration
Field Value
m_Configuration
Declaration
protected MemoryConfiguration m_Configuration
Field Value
m_DataStore
Declaration
protected IDataStore m_DataStore
Field Value
m_DependencyInjector
Declaration
protected IApplicationDependencyInjectorImplementation m_DependencyInjector
Field Value
m_EventTimer
Declaration
protected IEventTimer m_EventTimer
Field Value
m_Glue
Declaration
Field Value
m_InstanceID
Declaration
protected Guid m_InstanceID
Field Value
Type |
Description |
System.Guid |
|
m_Instrumentation
Declaration
protected IInstrumentation m_Instrumentation
Field Value
m_Log
Declaration
Field Value
m_Module
Declaration
protected IModule m_Module
Field Value
m_ObjectStore
Declaration
protected IObjectStore m_ObjectStore
Field Value
m_Realm
Declaration
protected IApplicationRealmImplementation m_Realm
Field Value
m_SecurityManager
Declaration
protected ISecurityManager m_SecurityManager
Field Value
m_Singletons
Declaration
protected IApplicationSingletonManager m_Singletons
Field Value
m_StartTime
Declaration
protected DateTime m_StartTime
Field Value
Type |
Description |
System.DateTime |
|
m_TimeSource
Declaration
protected ITimeSource m_TimeSource
Field Value
Properties
Active
Declaration
public bool Active { get; }
Property Value
Type |
Description |
System.Boolean |
|
AllComponents
Enumerates all components of this application
Declaration
public IEnumerable<IApplicationComponent> AllComponents { get; }
Property Value
AllowNesting
Declaration
public bool AllowNesting { get; }
Property Value
Type |
Description |
System.Boolean |
|
CommandArgs
Declaration
public IConfigSectionNode CommandArgs { get; }
Property Value
ConfigRoot
Declaration
public IConfigSectionNode ConfigRoot { get; }
Property Value
DataStore
Declaration
public IDataStore DataStore { get; }
Property Value
DependencyInjector
Declaration
public IApplicationDependencyInjector DependencyInjector { get; }
Property Value
EnvironmentName
Declaration
public string EnvironmentName { get; }
Property Value
Type |
Description |
System.String |
|
EventTimer
Declaration
public IEventTimer EventTimer { get; }
Property Value
ForceInvariantCulture
Declaration
public bool ForceInvariantCulture { get; }
Property Value
Type |
Description |
System.Boolean |
|
Glue
Declaration
public IGlue Glue { get; }
Property Value
Instance
Returns a singleton instance of the NOPApplication
Declaration
public static NOPApplication Instance { get; }
Property Value
InstanceID
Declaration
public Guid InstanceID { get; }
Property Value
Type |
Description |
System.Guid |
|
Instrumentation
Declaration
public IInstrumentation Instrumentation { get; }
Property Value
IsUnitTest
Declaration
public bool IsUnitTest { get; }
Property Value
Type |
Description |
System.Boolean |
|
LocalizedTime
Declaration
public DateTime LocalizedTime { get; }
Property Value
Type |
Description |
System.DateTime |
|
Log
Declaration
Property Value
ModuleRoot
Declaration
public IModule ModuleRoot { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
ObjectStore
Declaration
public IObjectStore ObjectStore { get; }
Property Value
Random
Declaration
public RandomGenerator Random { get; }
Property Value
Realm
Declaration
public IApplicationRealm Realm { get; }
Property Value
SecurityManager
Declaration
public ISecurityManager SecurityManager { get; }
Property Value
ShutdownStarted
Declaration
public bool ShutdownStarted { get; }
Property Value
Type |
Description |
System.Boolean |
|
Singletons
Declaration
public IApplicationSingletonManager Singletons { get; }
Property Value
StartTime
Declaration
public DateTime StartTime { get; }
Property Value
Type |
Description |
System.DateTime |
|
Stopping
Declaration
public bool Stopping { get; }
Property Value
Type |
Description |
System.Boolean |
|
TimeLocation
Declaration
public TimeLocation TimeLocation { get; }
Property Value
TimeSource
Declaration
public ITimeSource TimeSource { get; }
Property Value
Methods
GetComponentByCommonName(String)
Returns an existing application component instance by its ComponentCommonName or null. The search is case-insensitive
Declaration
public IApplicationComponent GetComponentByCommonName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
GetComponentBySID(UInt64)
Returns a component by SID or null
Declaration
public IApplicationComponent GetComponentBySID(ulong sid)
Parameters
Type |
Name |
Description |
System.UInt64 |
sid |
|
Returns
LocalizedTimeToUniversalTime(DateTime)
Declaration
public DateTime LocalizedTimeToUniversalTime(DateTime local)
Parameters
Type |
Name |
Description |
System.DateTime |
local |
|
Returns
Type |
Description |
System.DateTime |
|
MakeNewSessionInstance(Guid, User)
Declaration
public ISession MakeNewSessionInstance(Guid sessionID, User user = null)
Parameters
Type |
Name |
Description |
System.Guid |
sessionID |
|
User |
user |
|
Returns
NotifyAllConfigSettingsAboutChange()
Declaration
public void NotifyAllConfigSettingsAboutChange()
RegisterAppFinishNotifiable(IApplicationFinishNotifiable)
Declaration
public bool RegisterAppFinishNotifiable(IApplicationFinishNotifiable notifiable)
Parameters
Returns
Type |
Description |
System.Boolean |
|
RegisterConfigSettings(IConfigSettings)
Declaration
public bool RegisterConfigSettings(IConfigSettings settings)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Stop()
Declaration
UniversalTimeToLocalizedTime(DateTime)
Declaration
public DateTime UniversalTimeToLocalizedTime(DateTime utc)
Parameters
Type |
Name |
Description |
System.DateTime |
utc |
|
Returns
Type |
Description |
System.DateTime |
|
UnregisterAppFinishNotifiable(IApplicationFinishNotifiable)
Declaration
public bool UnregisterAppFinishNotifiable(IApplicationFinishNotifiable notifiable)
Parameters
Returns
Type |
Description |
System.Boolean |
|
UnregisterConfigSettings(IConfigSettings)
Declaration
public bool UnregisterConfigSettings(IConfigSettings settings)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
Extension Methods