forked from ArthurHub/HTML-Renderer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHtmlSample.cs
More file actions
49 lines (44 loc) · 1.14 KB
/
Copy pathHtmlSample.cs
File metadata and controls
49 lines (44 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// "Therefore those skilled at the unorthodox
// are infinite as heaven and earth,
// inexhaustible as the great rivers.
// When they come to an end,
// they begin again,
// like the days and months;
// they die and are reborn,
// like the four seasons."
//
// - Sun Tsu,
// "The Art of War"
namespace TheArtOfDev.HtmlRenderer.Demo.Common
{
/// <summary>
/// Used to hold a single html sample with its name.
/// </summary>
public sealed class HtmlSample
{
private readonly string _name;
private readonly string _fullName;
private readonly string _html;
/// <summary>
/// Initializes a new instance of the <see cref="T:System.Object"/> class.
/// </summary>
public HtmlSample(string name, string fullName, string html)
{
_name = name;
_fullName = fullName;
_html = html;
}
public string Name
{
get { return _name; }
}
public string FullName
{
get { return _fullName; }
}
public string Html
{
get { return _html; }
}
}
}