C# Class WebSocketServer.Vote

Represents a single vote from a single client.
Exibir arquivo Open project: qJake/planning-poker Class Usage Examples

Public Properties

Property Type Description
ClientID string
ClientName string
VoteValue string

Public Methods

Method Description
EqualsClient ( Client c ) : bool

Returns whether or not this vote was cast by the specified client by comparing the ID and name of this vote.

Method Details

EqualsClient() public method

Returns whether or not this vote was cast by the specified client by comparing the ID and name of this vote.
public EqualsClient ( Client c ) : bool
c Client The client to check against.
return bool

Property Details

ClientID public_oe property

The ClientID of the client that voted.
public string ClientID
return string

ClientName public_oe property

The name of the client that voted (to prevent numerous ClientID->Client->Name lookups).
public string ClientName
return string

VoteValue public_oe property

The vote that the client cast.
public string VoteValue
return string