C# Class WebSocketServer.CardSet

Represents the set of cards in the game.
Afficher le fichier Open project: qJake/planning-poker Class Usage Examples

Méthodes publiques

Свойство Type Description
_instance CardSet

Méthodes publiques

Méthode Description
ApplyNewCards ( string cardList ) : void

Applies a new list of cards to the stored cardset.

ToHumanString ( ) : string

Returns a comma-separated list of card values, with a space in-between.

ToString ( ) : string

Returns a comma-separated list of card values.

Private Methods

Méthode Description
CardSet ( ) : System.Collections.Generic

Private constructor. To create a new cardset, call ApplyNewCards().

Method Details

ApplyNewCards() public méthode

Applies a new list of cards to the stored cardset.
public ApplyNewCards ( string cardList ) : void
cardList string The new list of string values to use for the new cards.
Résultat void

ToHumanString() public méthode

Returns a comma-separated list of card values, with a space in-between.
public ToHumanString ( ) : string
Résultat string

ToString() public méthode

Returns a comma-separated list of card values.
public ToString ( ) : string
Résultat string

Property Details

_instance public_oe static_oe property

Where the instance is stored.
public static CardSet,WebSocketServer _instance
Résultat CardSet