Esempio n. 1
0
 // Token: 0x060022D0 RID: 8912 RVA: 0x000C7334 File Offset: 0x000C5534
 public static void AddReadReceiptNotice(UserContext userContext, Infobar infobar, IStorePropertyBag storePropertyBag)
 {
     if (InfobarMessageBuilderBase.ShouldRenderReadReceiptNoticeInfobar(userContext, storePropertyBag))
     {
         SanitizingStringBuilder <OwaHtml> sanitizingStringBuilder = new SanitizingStringBuilder <OwaHtml>();
         sanitizingStringBuilder.Append(LocalizedStrings.GetNonEncoded(115261126));
         sanitizingStringBuilder.Append(" <a href=# id=aRqRcpt>");
         sanitizingStringBuilder.Append(LocalizedStrings.GetNonEncoded(1190033799));
         sanitizingStringBuilder.Append("</a>");
         infobar.AddMessage(sanitizingStringBuilder.ToSanitizedString <SanitizedHtmlString>(), InfobarMessageType.Informational, "divSRR");
     }
 }
Esempio n. 2
0
 // Token: 0x06000223 RID: 547 RVA: 0x00013D74 File Offset: 0x00011F74
 public static void AddSendReceiptNotice(UserContext userContext, Infobar infobar, MessageItem messageItem)
 {
     if (userContext == null)
     {
         throw new ArgumentNullException("userContext");
     }
     if (infobar == null)
     {
         throw new ArgumentNullException("infobar");
     }
     if (messageItem == null)
     {
         throw new ArgumentNullException("item");
     }
     if (InfobarMessageBuilderBase.ShouldRenderReadReceiptNoticeInfobar(userContext, messageItem))
     {
         SanitizingStringBuilder <OwaHtml> sanitizingStringBuilder = new SanitizingStringBuilder <OwaHtml>();
         sanitizingStringBuilder.Append(LocalizedStrings.GetNonEncoded(115261126));
         sanitizingStringBuilder.Append(" <a href=\"#\" onclick=\"onClkSndRct()\">");
         sanitizingStringBuilder.Append(LocalizedStrings.GetNonEncoded(1190033799));
         sanitizingStringBuilder.Append("</a>");
         infobar.AddMessageHtml(sanitizingStringBuilder.ToSanitizedString <SanitizedHtmlString>(), InfobarMessageType.Informational);
     }
 }