Class ActiveObjectCounter<T>
public class ActiveObjectCounter<T>
Type Parameters
T
- Inheritance
-
ActiveObjectCounter<T>
- Inherited Members
Properties
Count
public int Count { get; }
Property Value
IsActive
public bool IsActive { get; }
Property Value
Methods
Add(T)
public void Add(T activeObject)
Parameters
activeObject
T
Deactivate()
public void Deactivate()
Release(T)
public void Release(T activeObject)
Parameters
activeObject
T
Reset()
public void Reset()
Wait(TimeSpan)
public bool Wait(TimeSpan timeout)
Parameters
timeout
TimeSpan