Метод | Описание | |
---|---|---|
NominateUsers ( string host, |
||
ProcessGet ( string host, string id, string flag ) : int | ||
ProcessPut ( string host, string id, string flag ) : int | ||
RegisterCandidates ( string host, |
||
RegisterVoters ( string host, int votes, |
||
StartElection ( string host, |
Метод | Описание | |
---|---|---|
ExtractFlag ( |
||
GenVotes ( string flag, |
public static NominateUsers ( string host, |
||
host | string | |
election | ||
candidates | ||
Результат |
public static ProcessGet ( string host, string id, string flag ) : int | ||
host | string | |
id | string | |
flag | string | |
Результат | int |
public static ProcessPut ( string host, string id, string flag ) : int | ||
host | string | |
id | string | |
flag | string | |
Результат | int |
public static RegisterCandidates ( string host, |
||
host | string | |
users | ||
Результат | Electro.Model.User[] |
public static RegisterVoters ( string host, int votes, |
||
host | string | |
votes | int | |
candidateUsers | ||
Результат | int[]>[].KeyValuePair |
public static StartElection ( string host, |
||
host | string | |
candidate | ||
isPublic | bool | |
nominateTimeInSec | int | |
voteTimeInSec | int | |
Результат |