-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
191 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using EasyHtmlToolkit.Enums; | ||
|
||
namespace EasyHtmlToolkit.Models.Elements | ||
{ | ||
/// <summary> | ||
/// Represents an HTML <table> element. | ||
/// </summary> | ||
public class TableTag : HtmlElement | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TableTag"/> class without any inner text. | ||
/// </summary> | ||
public TableTag() : base(ETag.table) { } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TableTag"/> class with the specified inner text. | ||
/// </summary> | ||
/// <param name="value">The inner text of the table.</param> | ||
public TableTag(string value) : base(ETag.table) | ||
{ | ||
InnerText = value; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using EasyHtmlToolkit.Enums; | ||
|
||
namespace EasyHtmlToolkit.Models.Elements | ||
{ | ||
/// <summary> | ||
/// Represents an HTML <tbody> element. | ||
/// </summary> | ||
public class TbodyTag : HtmlElement | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TbodyTag"/> class without any inner text. | ||
/// </summary> | ||
public TbodyTag() : base(ETag.tbody) { } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TbodyTag"/> class with the specified inner text. | ||
/// </summary> | ||
/// <param name="value">The inner text of the tbody.</param> | ||
public TbodyTag(string value) : base(ETag.tbody) | ||
{ | ||
InnerText = value; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using EasyHtmlToolkit.Enums; | ||
|
||
namespace EasyHtmlToolkit.Models.Elements | ||
{ | ||
/// <summary> | ||
/// Represents an HTML <td> element. | ||
/// </summary> | ||
public class TdTag : HtmlElement | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TdTag"/> class with the specified inner text. | ||
/// </summary> | ||
/// <param name="value">The inner text of the td element.</param> | ||
public TdTag(string value) : base(ETag.td) | ||
{ | ||
InnerText = value; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using EasyHtmlToolkit.Enums; | ||
|
||
namespace EasyHtmlToolkit.Models.Elements | ||
{ | ||
/// <summary> | ||
/// Represents an HTML <tfoot> element. | ||
/// </summary> | ||
public class TfootTag : HtmlElement | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TfootTag"/> class without any inner text. | ||
/// </summary> | ||
public TfootTag() : base(ETag.tfoot) { } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TfootTag"/> class with the specified inner text. | ||
/// </summary> | ||
/// <param name="value">The inner text of the tfoot.</param> | ||
public TfootTag(string value) : base(ETag.tfoot) | ||
{ | ||
InnerText = value; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using EasyHtmlToolkit.Enums; | ||
|
||
namespace EasyHtmlToolkit.Models.Elements | ||
{ | ||
/// <summary> | ||
/// Represents an HTML <th> element. | ||
/// </summary> | ||
public class ThTag : HtmlElement | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="ThTag"/> class with the specified inner text. | ||
/// </summary> | ||
/// <param name="value">The inner text of the th element.</param> | ||
public ThTag(string value) : base(ETag.th) | ||
{ | ||
InnerText = value; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using EasyHtmlToolkit.Enums; | ||
|
||
namespace EasyHtmlToolkit.Models.Elements | ||
{ | ||
/// <summary> | ||
/// Represents an HTML <thead> element. | ||
/// </summary> | ||
public class TheadTag : HtmlElement | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TheadTag"/> class without any inner text. | ||
/// </summary> | ||
public TheadTag() : base(ETag.thead) { } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TheadTag"/> class with the specified inner text. | ||
/// </summary> | ||
/// <param name="value">The inner text of the thead.</param> | ||
public TheadTag(string value) : base(ETag.thead) | ||
{ | ||
InnerText = value; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using EasyHtmlToolkit.Enums; | ||
|
||
namespace EasyHtmlToolkit.Models.Elements | ||
{ | ||
/// <summary> | ||
/// Represents an HTML <tr> element. | ||
/// </summary> | ||
public class TrTag : HtmlElement | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TrTag"/> class without any inner text. | ||
/// </summary> | ||
public TrTag() : base(ETag.tr) { } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TrTag"/> class with the specified inner text. | ||
/// </summary> | ||
/// <param name="value">The inner text of the tr.</param> | ||
public TrTag(string value) : base(ETag.tr) | ||
{ | ||
InnerText = value; | ||
} | ||
} | ||
} |