BeginEnd

Description

sealed class Tinman.Core.Util.BeginEnd

Derived from

IBeginEnd

Implementation of the IBeginEnd interface that computes the balance between calls to IBeginEnd.Begin and IBeginEnd.End.

Public / Attributes

Balance


public attribute Balance → (get)

value : int32

[>=0]
The call balance.

Balance between calls to IBeginEnd.Begin (+1) and calls to IBeginEnd.End (-1).

Is​Active


public attribute IsActive → (get)

value : bool

true if there is at least one call to IBeginEnd.Begin without a matching IBeginEnd.End call,
false if all calls to IBeginEnd.Begin have been matched with a call to IBeginEnd.End.

Is there an active begin/end cycle?