Class BaseApplicationObject
- Namespace
- CarinaStudio
- Assembly
- CarinaStudio.AppBase.Application.dll
Base implementation of IApplicationObject.
public abstract class BaseApplicationObject : IApplicationObject, IThreadDependent, ISynchronizable
- Inheritance
-
BaseApplicationObject
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
BaseApplicationObject(IApplication)
Initialize new BaseApplicationObject instance.
protected BaseApplicationObject(IApplication app)
Parameters
app
IApplicationApplication.
Properties
Application
Get IApplication which object belongs to.
public IApplication Application { get; }
Property Value
PersistentState
Get persistent state of application.
protected ISettings PersistentState { get; }
Property Value
Settings
Get settings of application.
protected ISettings Settings { get; }
Property Value
SynchronizationContext
Get SynchronizationContext which the instance relates to.
public SynchronizationContext SynchronizationContext { get; }
Property Value
Methods
CheckAccess()
Check whether current thread is the thread which object depends on or not.
public bool CheckAccess()
Returns
- bool
True if current thread is the thread which object depends on.