LifecycleState

Description

enum Tinman.Core.LifecycleState

Enumeration of common object lifecycle states.

See also

IDisposable

Public / Constants

Unknown

public constant Unknown → (-1:int32)

Unknown lifecycle state (e.g. for null references).

This lifecycle state is considered invalid.

Created

public constant Created → (0:int32)

The object has been constructed but not yet initialized.

This lifecycle state is considered invalid.

Initialized

public constant Initialized → (1:int32)

The object has been initialized.

This lifecycle state is considered valid.

Disposing

public constant Disposing → (2:int32)

Disposal of the object has begun.

This lifecycle state is considered valid.

Disposed

public constant Disposed → (3:int32)

Disposal of the object has finished.

This lifecycle state is considered invalid.