C# Class Codebreak.Service.World.Network.MessageDispatcher

Inheritance: Codebreak.Framework.Generic.Updatable
Afficher le fichier Open project: hussein-aitlahcen/codebreak Class Usage Examples

Méthodes publiques

Méthode Description
AddHandler ( Action method ) : void

Dispatch ( string message ) : void

Dispose ( ) : void

RemoveHandler ( Action method ) : void

SafeAddHandler ( Action method ) : void

SafeDispatch ( string message ) : void

SafeRemoveHandler ( Action method ) : void

Method Details

AddHandler() public méthode

public AddHandler ( Action method ) : void
method Action
Résultat void

Dispatch() public méthode

public Dispatch ( string message ) : void
message string
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

RemoveHandler() public méthode

public RemoveHandler ( Action method ) : void
method Action
Résultat void

SafeAddHandler() public méthode

public SafeAddHandler ( Action method ) : void
method Action
Résultat void

SafeDispatch() public méthode

public SafeDispatch ( string message ) : void
message string
Résultat void

SafeRemoveHandler() public méthode

public SafeRemoveHandler ( Action method ) : void
method Action
Résultat void