Méthode | Description | |
---|---|---|
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, |
Méthode | Description | |
---|---|---|
ExtractFlag ( |
||
GenVotes ( string flag, |
public static NominateUsers ( string host, |
||
host | string | |
election | ||
candidates | ||
Résultat |
public static ProcessGet ( string host, string id, string flag ) : int | ||
host | string | |
id | string | |
flag | string | |
Résultat | int |
public static ProcessPut ( string host, string id, string flag ) : int | ||
host | string | |
id | string | |
flag | string | |
Résultat | int |
public static RegisterCandidates ( string host, |
||
host | string | |
users | ||
Résultat | Electro.Model.User[] |
public static RegisterVoters ( string host, int votes, |
||
host | string | |
votes | int | |
candidateUsers | ||
Résultat | int[]>[].KeyValuePair |
public static StartElection ( string host, |
||
host | string | |
candidate | ||
isPublic | bool | |
nominateTimeInSec | int | |
voteTimeInSec | int | |
Résultat |