Megadocs 0.0.1
All of megapop's internal libraries
Megapop.MegaCore.LockCounter Class Reference

TODO: Consider implementing IDisposable More...

Public Member Functions

 LockCounter ()
 
 LockCounter (Action onLock, Action onUnlock)
 
void Lock (Action lockedCallback=null)
 
void Unlock (Action unlockedCallback=null)
 

Properties

bool IsLocked [get]
 

Events

Action OnLock
 
Action OnUnlock
 

Detailed Description

TODO: Consider implementing IDisposable

Constructor & Destructor Documentation

◆ LockCounter() [1/2]

◆ LockCounter() [2/2]

Megapop.MegaCore.LockCounter.LockCounter ( Action  onLock,
Action  onUnlock 
)
inline

Member Function Documentation

◆ Lock()

void Megapop.MegaCore.LockCounter.Lock ( Action  lockedCallback = null)
inline

◆ Unlock()

void Megapop.MegaCore.LockCounter.Unlock ( Action  unlockedCallback = null)
inline

Property Documentation

◆ IsLocked

bool Megapop.MegaCore.LockCounter.IsLocked
get

Event Documentation

◆ OnLock

Action Megapop.MegaCore.LockCounter.OnLock

◆ OnUnlock

Action Megapop.MegaCore.LockCounter.OnUnlock

The documentation for this class was generated from the following file: