Example #1
0
 public Assertion(string issuerId, BadgeClass badge, BadgeRecipient recipient, string narriative, AssertionEvidence[] evidence, string expires, DateTime issuedOn)
 {
     //this.badgeclass = badge.entityId;
     //this.badgeclassName = badge.name;
     this.badgeclassOpenBadgeId = badge.openBadgeId;
     this.recipient             = recipient;
     this.narrative             = narrative;
     this.evidence = evidence ?? Array.Empty <AssertionEvidence>();
     this.expires  = expires;
     this.issuer   = issuerId;
     //this.issuedOn = issuedOn;
 }
Example #2
0
 public Assertion(BadgeRecipient recipient, bool notify)
 {
     this.recipient = recipient;
     this.notify    = notify;
     //this.issuedOn = DateTime.Now;
 }