TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface ILifecycleState in Tinman.Core

Base interface for classes that provide a lifecycle state.

interface ILifecycleState base of IDisposable

See also:

LifecycleState

Attributes

LifecycleState

Returns the lifecycle state of this object.

property LifecycleState { get }
type LifecycleState
value The lifecycle state.

Extensions

AssertCreated

Asserts that the given object is in the Created state.

method AssertCreated (string source)
params source Error source tag.

Remarks:

Use this method to assert that an object is valid and must be initialized later.

AssertCreatedOrInitialized

Asserts that the given object is either in the Created or in the Initialized state.

method AssertCreatedOrInitialized (string source)
params source Error source tag.

Remarks:

Use this method to assert that an object is valid and might have to be initialized later.

AssertValid

Asserts that the given object is valid.

method AssertValid (string source)
params source Error source tag.

Remarks:

An object is considered valid if it is in one of the following lifecycle states:

IsValid

Is this object valid (see remarks)?

method IsValid ()
type bool
returns true if the object is valid, false if not.

Remarks:

An object is considered valid if it is in one of the following lifecycle states: