Table of Contents

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 IApplication

Application.

Properties

Application

Get IApplication which object belongs to.

public IApplication Application { get; }

Property Value

IApplication

PersistentState

Get persistent state of application.

protected ISettings PersistentState { get; }

Property Value

ISettings

Settings

Get settings of application.

protected ISettings Settings { get; }

Property Value

ISettings

SynchronizationContext

Get SynchronizationContext which the instance relates to.

public SynchronizationContext SynchronizationContext { get; }

Property Value

SynchronizationContext

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.