コード例 #1
0
ファイル: Client.cs プロジェクト: dbrgn/pi-vote
 /// <summary>
 /// Set a certificate storage on the server.
 /// </summary>
 /// <param name="comand">Command to delete a voting.</param>
 /// <param name="callBack">Callback upon completion.</param>
 public void DeleteVoting(Signed<DeleteVotingRequest.Command> comand, DeleteVotingCallBack callBack)
 {
     lock (this.operations)
       {
     this.operations.Enqueue(new DeleteVotingOperation(comand, callBack));
       }
 }
コード例 #2
0
ファイル: DeleteVoting.cs プロジェクト: dbrgn/pi-vote
 /// <summary>
 /// Create a new vote cast opeation.
 /// </summary>
 /// <param name="command">Command to delete the voting.</param>
 /// <param name="callBack">Callback upon completion.</param>
 public DeleteVotingOperation(Signed<DeleteVotingRequest.Command> command, DeleteVotingCallBack callBack)
 {
     this.command = command;
     this.callBack = callBack;
 }