Example #1
0
        public override void OsbideSolutionDownloaded(object sender, SolutionDownloadedEventArgs e)
        {
            base.OsbideSolutionDownloaded(sender, e);
            SolutionDownloadEvent download = new SolutionDownloadEvent()
            {
                AssignmentId      = e.DownloadedSubmission.AssignmentId,
                AuthorId          = e.DownloadedSubmission.EventLog.SenderId,
                DownloadingUserId = e.DownloadingUser.Id,
                SolutionName      = e.DownloadedSubmission.SolutionName
            };

            //let others know that we have a new event
            NotifyEventCreated(this, new EventCreatedArgs(download));
        }
Example #2
0
 public virtual void OsbideSolutionDownloaded(object sender, SolutionDownloadedEventArgs e)
 {
 }