C# Class MBC.Shared.ControllerRegister

Afficher le fichier Open project: aiclub/Mohawk_Battleship Class Usage Examples

Méthodes publiques

Méthode Description
ControllerRegister ( MBC.Shared.Controller control ) : System

Stores the match and id and sets the score to zero.

ControllerRegister ( ControllerRegister copy ) : System

Deeply copies an existing ControllerRegister.

Equals ( ControllerRegister register ) : bool

Determines whether or not this ControllerRegister is equivalent to another ControllerRegister. Only the ControllerRegister.ID and ControllerRegister.Match are compared as they are only relevant for equivalence.

Equals ( object obj ) : bool

Determines whether or not this ControllerRegister is equivalent to another ControllerRegister. Only the ControllerRegister.ID and ControllerRegister.Match are compared as they are only relevant for equivalence.

ToString ( ) : string

Generates a string representation of the ControllerRegister by providing the ControllerID and Controller display name.

Method Details

ControllerRegister() public méthode

Stores the match and id and sets the score to zero.
public ControllerRegister ( MBC.Shared.Controller control ) : System
control MBC.Shared.Controller
Résultat System

ControllerRegister() public méthode

Deeply copies an existing ControllerRegister.
public ControllerRegister ( ControllerRegister copy ) : System
copy ControllerRegister A to copy.
Résultat System

Equals() public méthode

Determines whether or not this ControllerRegister is equivalent to another ControllerRegister. Only the ControllerRegister.ID and ControllerRegister.Match are compared as they are only relevant for equivalence.
public Equals ( ControllerRegister register ) : bool
register ControllerRegister The to compare with.
Résultat bool

Equals() public méthode

Determines whether or not this ControllerRegister is equivalent to another ControllerRegister. Only the ControllerRegister.ID and ControllerRegister.Match are compared as they are only relevant for equivalence.
public Equals ( object obj ) : bool
obj object The object to compare with.
Résultat bool

ToString() public méthode

Generates a string representation of the ControllerRegister by providing the ControllerID and Controller display name.
public ToString ( ) : string
Résultat string