Пример #1
0
 public string ToLink()
 {
     return(HTML.CreateItem(this.Name, this.LowID, this.HighID, this.QL));
 }
Пример #2
0
 public void AppendItemStart(int lowID, int highID, int QL, bool disableStyle)
 {
     this._builder.Append(HTML.CreateItemStart(lowID, highID, QL, disableStyle, this._innerQuotes));
 }
Пример #3
0
 public static string CreateUnderlineString(string text)
 {
     return(HTML.CreateUnderlineStart() + text + HTML.CreateUnderlineEnd());
 }
Пример #4
0
 /// <summary>
 /// Appends text and escapes it
 /// </summary>
 /// <param name="text">Text to append</param>
 public void AppendString(string text)
 {
     this._builder.Append(HTML.EscapeString(text));
 }
Пример #5
0
 public void AppendItem(string name, int lowID, int highID, int QL, bool disableStyle)
 {
     this._builder.Append(HTML.CreateItem(name, lowID, highID, QL, disableStyle, this._innerQuotes));
 }
Пример #6
0
 /// <summary>
 /// Appends the end of an Alignment
 /// </summary>
 public void AppendAlignEnd()
 {
     this._builder.Append(HTML.CreateAlignEnd());
 }
Пример #7
0
 public string ToString(string title, bool disableStyle)
 {
     return(HTML.CreateWindow(title, this.Text, disableStyle, this._outerQuotes));
 }
Пример #8
0
 /// <summary>
 /// Appends an image
 /// </summary>
 /// <param name="imageID">The ID of the image</param>
 public void AppendImage(string imageID)
 {
     this._builder.Append(HTML.CreateImage(imageID));
 }
Пример #9
0
 /// <summary>
 /// Appends the start of an Alignment
 /// </summary>
 /// <param name="alignment">The direction the text should be align. Left, Center or Right</param>
 public void AppendAlignStart(string alignment)
 {
     this._builder.Append(HTML.CreateAlignStart(alignment));
 }
Пример #10
0
 /// <summary>
 /// Appends a colored string and closes the color tag after
 /// </summary>
 /// <param name="colorHex">Color HEX value</param>
 /// <param name="text">Text to append</param>
 public void AppendColorString(string colorHex, string text)
 {
     this._builder.Append(HTML.CreateColorString(colorHex, text));
 }
Пример #11
0
 /// <summary>
 /// Appends an item icon
 /// </summary>
 /// <param name="icondID">The icon ID of the item</param>
 public void AppendIcon(Int32 icondID)
 {
     this._builder.Append(HTML.CreateIcon(icondID));
 }
Пример #12
0
 /// <summary>
 /// Appends a color closing tag
 /// </summary>
 public void AppendColorEnd()
 {
     this._builder.Append(HTML.CreateColorEnd());
 }
Пример #13
0
 /// <summary>
 /// Appends a color opening tag
 /// </summary>
 /// <param name="colorHex">Color HEX value</param>
 public void AppendColorStart(string colorHex)
 {
     this._builder.Append(HTML.CreateColorStart(colorHex));
 }
Пример #14
0
 /// <summary>
 /// Closes a link started with "AppendItemStart()" or "AppendCommandStart()"
 /// </summary>
 public void AppendLinkEnd()
 {
     this._builder.Append(HTML.CreateLinkEnd());
 }
Пример #15
0
 public void AppendCommandStart(string command, bool disableStyle)
 {
     this._builder.Append(HTML.CreateCommandStart(command, disableStyle, this._innerQuotes));
 }
Пример #16
0
 public void AppendRawCommand(string name, string command, bool disableStyle)
 {
     this._builder.Append(HTML.CreateCommand(name, command, disableStyle, this._innerQuotes, true));
 }