Photon Server API Documentation v5.0RC1

Public Member Functions | Properties | List of all members
ExitGames.Threading.BeforeAfterExecutor Class Reference
Inheritance diagram for ExitGames.Threading.BeforeAfterExecutor:
ExitGames.Concurrency.Core.IExecutor ExitGames.Threading.ExtendedBeforeAfterExecutor

Public Member Functions

 BeforeAfterExecutor (IExecutor executor=null)
 
 BeforeAfterExecutor (Action beforeExecute, Action afterExecute, IExecutor executor=null)
 
void Execute (List< IFiberAction > toExecute)
 Executes all actions. More...
 
void Execute (IFiberAction toExecute)
 

Properties

Action BeforeExecute [get, set]
 
Action AfterExecute [get, set]
 

Constructor & Destructor Documentation

◆ BeforeAfterExecutor() [1/2]

ExitGames.Threading.BeforeAfterExecutor.BeforeAfterExecutor ( IExecutor  executor = null)
inline

◆ BeforeAfterExecutor() [2/2]

ExitGames.Threading.BeforeAfterExecutor.BeforeAfterExecutor ( Action  beforeExecute,
Action  afterExecute,
IExecutor  executor = null 
)
inline

Member Function Documentation

◆ Execute() [1/2]

void ExitGames.Threading.BeforeAfterExecutor.Execute ( IFiberAction  toExecute)
inline

◆ Execute() [2/2]

void ExitGames.Threading.BeforeAfterExecutor.Execute ( List< IFiberAction toExecute)
inline

Executes all actions.

Parameters
toExecute

summary> Executes a single action. /summary> param name="toExecute">

Implements ExitGames.Concurrency.Core.IExecutor.

Property Documentation

◆ AfterExecute

Action ExitGames.Threading.BeforeAfterExecutor.AfterExecute
getset

◆ BeforeExecute

Action ExitGames.Threading.BeforeAfterExecutor.BeforeExecute
getset