C# 클래스 WebSocketServer.CardSet

Represents the set of cards in the game.
파일 보기 프로젝트 열기: qJake/planning-poker 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
_instance CardSet

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
CardSet ( ) : System.Collections.Generic

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

메소드 상세

ApplyNewCards() 공개 메소드

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.
리턴 void

ToHumanString() 공개 메소드

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

ToString() 공개 메소드

Returns a comma-separated list of card values.
public ToString ( ) : string
리턴 string

프로퍼티 상세

_instance 공개적으로 정적으로 프로퍼티

Where the instance is stored.
public static CardSet,WebSocketServer _instance
리턴 CardSet