예제 #1
0
    public void SendRejectCallback(RejectInformation rejectInformation)
    {
        Action <RejectInformation> action;

        if (pendingNotifications.TryGetValue(rejectInformation, out action))
        {
            acion(rejectInformation);
            pendingNotifications.Remove(rejectInformation);
        }
    }
예제 #2
0
 public void SubmitNewRejectInfo(RejectInformation rejectInformation)
 {
     OnSubmitNewRejectInfo(new RejectInfoArgs(rejectInformation));
     pendingNotifications.Add(rejectInformation, info => callback.RejectCallback(info));
 }