/// <summary>
 /// Constructor.
 /// </summary>
 public SubmittedViewModel(
     Commit commit,
     string commitUrl,
     Checkpoint checkpoint,
     ITimeZoneProvider timeZoneProvider)
 {
     User = commit.User;
     Checkpoint = checkpoint;
     Submission = new SubmissionCandidateViewModel
     (
         commit,
         commitUrl,
         true /*previousSubmission*/,
         true /*defaultChoice*/,
         timeZoneProvider
     );
 }
Exemple #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public SubmittedViewModel(
     Commit commit,
     string commitUrl,
     Checkpoint checkpoint,
     ITimeZoneProvider timeZoneProvider)
 {
     User       = commit.User;
     Checkpoint = checkpoint;
     Submission = new SubmissionCandidateViewModel
                  (
         commit,
         commitUrl,
         true /*previousSubmission*/,
         true /*defaultChoice*/,
         timeZoneProvider
                  );
 }