private static Identity CreateRecipientStatusRowIdentity(Identity messageTrackingReportIdentity, RecipientTrackingEvent trackingEvent) { string recipient = trackingEvent.RecipientAddress.ToString(); string displayName = trackingEvent.RecipientAddress.ToString(); RecipientMessageTrackingReportId recipientMessageTrackingReportId = new RecipientMessageTrackingReportId(messageTrackingReportIdentity.RawIdentity, recipient); return(new Identity(recipientMessageTrackingReportId.RawIdentity, displayName)); }
public RecipientStatusRow(Identity messageTrackingReportIdentity, RecipientTrackingEvent trackingEvent) : base(RecipientStatusRow.CreateRecipientStatusRowIdentity(messageTrackingReportIdentity, trackingEvent), trackingEvent) { this.RecipientTrackingEvent = trackingEvent; }