C# Class Flatwhite.Hot.RaisingPhoenix

Represent a raising phoenix. Calling reborn many time will not actually do anything until the method reborn complete and it will return AlivePhoenix
Inheritance: IPhoenixState
Show file Open project: vanthoainguyen/Flatwhite Class Usage Examples

Public Methods

Method Description
GetState ( ) : string
Reborn ( Func rebornAction ) : IPhoenixState

true if the phoenix is executing rebornAction. This is to avoid many call on method Reborn many time

Method Details

GetState() public method

public GetState ( ) : string
return string

Reborn() public method

true if the phoenix is executing rebornAction. This is to avoid many call on method Reborn many time
public Reborn ( Func rebornAction ) : IPhoenixState
rebornAction Func
return IPhoenixState