C# Класс WebSocketServer.Vote

Represents a single vote from a single client.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ClientID string
ClientName string
VoteValue string

Открытые методы

Метод Описание
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.

Описание методов

EqualsClient() публичный Метод

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.
Результат bool

Описание свойств

ClientID публичное свойство

The ClientID of the client that voted.
public string ClientID
Результат string

ClientName публичное свойство

The name of the client that voted (to prevent numerous ClientID->Client->Name lookups).
public string ClientName
Результат string

VoteValue публичное свойство

The vote that the client cast.
public string VoteValue
Результат string