Table of Contents

Class BaseDisposableApplicationObject

Namespace
CarinaStudio
Assembly
CarinaStudio.AppBase.Application.dll

Base implementation of IApplicationObject and IDisposable.

public abstract class BaseDisposableApplicationObject : BaseApplicationObject, IApplicationObject, IThreadDependent, ISynchronizable, IDisposable
Inheritance
BaseDisposableApplicationObject
Implements
Derived
Inherited Members
Extension Methods

Constructors

BaseDisposableApplicationObject(IApplication)

Initialize new BaseDisposableApplicationObject instance.

protected BaseDisposableApplicationObject(IApplication app)

Parameters

app IApplication

Application.

Properties

IsDisposed

Check whether instance has disposed or not.

protected bool IsDisposed { get; }

Property Value

bool

Methods

Dispose()

Dispose instance.

public void Dispose()

Dispose(bool)

Called to dispose instance.

protected abstract void Dispose(bool disposing)

Parameters

disposing bool

True to release managed resources also.

~BaseDisposableApplicationObject()

Finalizer.

protected ~BaseDisposableApplicationObject()

VerifyDisposed()

Throw ObjectDisposedException if instance has been disposed.

protected void VerifyDisposed()