Exemplo n.º 1
0
 private void RenderProperty(TextWriter writer, Strings.IDs captionId, params string[] values)
 {
     this.RenderProperty(writer, LocalizedStrings.GetNonEncoded(captionId), values);
 }
Exemplo n.º 2
0
 // Token: 0x06000315 RID: 789 RVA: 0x0000C088 File Offset: 0x0000A288
 private static Stream GetContentsReplacementStream(Strings.IDs resource)
 {
     byte[] encodedString = ZipEntryAttachment.GetEncodedString(Strings.GetLocalizedString(resource));
     return(new MemoryStream(encodedString, 0, encodedString.Length));
 }
Exemplo n.º 3
0
 // Token: 0x0600010E RID: 270 RVA: 0x00007404 File Offset: 0x00005604
 public static LocalizedString GetLocalizedString(Strings.IDs key)
 {
     return(new LocalizedString(Strings.stringIDs[(uint)key], Strings.ResourceManager, new object[0]));
 }
 public static void RenderThemeImageWithToolTip(TextWriter writer, ThemeFileId themeFileId, string styleClass, Strings.IDs tooltipStringId, ISessionContext sessionContext, params string[] extraAttributes)
 {
     SessionContextUtilities.RenderThemeImageStart(writer, themeFileId, styleClass, sessionContext);
     foreach (string value in extraAttributes)
     {
         if (!string.IsNullOrEmpty(value))
         {
             writer.Write(value);
             writer.Write(" ");
         }
     }
     Utilities.RenderImageAltAttribute(writer, sessionContext, themeFileId, tooltipStringId);
     SessionContextUtilities.RenderThemeImageEnd(writer, themeFileId);
 }
Exemplo n.º 5
0
 // Token: 0x060001FA RID: 506 RVA: 0x0001304B File Offset: 0x0001124B
 internal void AddMessageLocalized(Strings.IDs stringId, InfobarMessageType type)
 {
     this.messages.Add(InfobarMessage.CreateLocalized(stringId, type));
 }
Exemplo n.º 6
0
 private static void AppendBrowserLink(StringBuilder errorDetails, string linkValue, Strings.IDs linkText)
 {
     errorDetails.Append("<a href=\"");
     errorDetails.Append(linkValue);
     errorDetails.Append("\">");
     errorDetails.Append(LocalizedStrings.GetHtmlEncoded(linkText));
     errorDetails.Append("</a>");
 }
Exemplo n.º 7
0
 private Stream GetContentsReplacementStream(Strings.IDs resource)
 {
     byte[] encodedString = this.GetEncodedString(LocalizedStrings.GetNonEncoded(resource));
     return(new MemoryStream(encodedString, 0, encodedString.Length));
 }
Exemplo n.º 8
0
 public LocDescriptionAttribute(Strings.IDs ids) : base(Strings.GetLocalizedString(ids))
 {
 }
Exemplo n.º 9
0
 // Token: 0x06001B35 RID: 6965 RVA: 0x0009B9A3 File Offset: 0x00099BA3
 public ColumnHeader(Strings.IDs textID) : this(textID, ThemeFileId.None, false)
 {
 }
Exemplo n.º 10
0
 protected void RenderPartialFailure(Strings.IDs messageString, Strings.IDs?titleString, ButtonDialogIcon icon, OwaEventHandlerErrorCode errorCode)
 {
     this.RenderPartialFailure(LocalizedStrings.GetHtmlEncoded(messageString), (titleString != null) ? LocalizedStrings.GetHtmlEncoded(titleString.Value) : null, icon, errorCode);
 }
Exemplo n.º 11
0
 protected void RenderPartialFailure(Strings.IDs messageString, Strings.IDs?titleString, ButtonDialogIcon icon)
 {
     this.RenderPartialFailure(messageString, titleString, icon, OwaEventHandlerErrorCode.NotSet);
 }
Exemplo n.º 12
0
 protected void RenderPartialFailure(Strings.IDs messageString, OwaEventHandlerErrorCode errorCode)
 {
     this.RenderPartialFailure(messageString, null, ButtonDialogIcon.NotSet, errorCode);
 }
Exemplo n.º 13
0
 protected void RenderPartialFailure(Strings.IDs messageString)
 {
     this.RenderPartialFailure(messageString, OwaEventHandlerErrorCode.NotSet);
 }
Exemplo n.º 14
0
 // Token: 0x06001CE0 RID: 7392 RVA: 0x000A69A3 File Offset: 0x000A4BA3
 private void RenderButtonText(TextWriter writer, Strings.IDs id)
 {
     this.RenderButtonText(writer, LocalizedStrings.GetNonEncoded(id));
 }