Method | Description | |
---|---|---|
DumpElections ( ) : IEnumerable |
||
ElectroController ( IEnumerable |
||
FindElectionForUser ( System.Guid electionId, |
||
GetFinishedElections ( int top = int.MaxValue ) : IEnumerable |
||
GetUnfinishedPublicElections ( int top = int.MaxValue ) : IEnumerable |
||
NominateCandidate ( System.Guid electionId, |
||
StartElection ( string electionName, |
||
TryDecryptElectionResultIfFinished ( |
||
Vote ( System.Guid electionId, |
Method | Description | |
---|---|---|
LoadState ( IEnumerable |
||
TryMerge ( System.Numerics.BigInteger voteResults, |
public ElectroController ( IEnumerable |
||
elections | IEnumerable |
|
keys | PrivateKey>.IEnumerable | |
authController | ||
statePersister | ||
return | System |
public FindElectionForUser ( System.Guid electionId, |
||
electionId | System.Guid | |
user | ||
return |
public GetFinishedElections ( int top = int.MaxValue ) : IEnumerable |
||
top | int | |
return | IEnumerable |
public GetUnfinishedPublicElections ( int top = int.MaxValue ) : IEnumerable |
||
top | int | |
return | IEnumerable |
public NominateCandidate ( System.Guid electionId, |
||
electionId | System.Guid | |
user | ||
return |
public StartElection ( string electionName, |
||
electionName | string | |
firstCandidate | ||
isPublic | bool | |
nominateTill | System.DateTime | |
till | System.DateTime | |
return | System.Guid |
public TryDecryptElectionResultIfFinished ( |
||
election | ||
return | bool |
public Vote ( System.Guid electionId, |
||
electionId | System.Guid | |
user | ||
voteArray | System.Numerics.BigInteger | |
return | bool |