-
Notifications
You must be signed in to change notification settings - Fork 365
/
StoredSnippet.cs
46 lines (39 loc) · 1.42 KB
/
StoredSnippet.cs
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
// Copyright © Microsoft Corporation.
// This source file is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
// Change History
// 03/09/2013 - EFW - Moved the class into the Snippets namespace and made it public
namespace Sandcastle.Tools.BuildComponents.Snippets
{
/// <summary>
/// This represents a stored snippet
/// </summary>
public class StoredSnippet
{
#region Properties
//=====================================================================
/// <summary>
/// This read-only property returns the snippet text
/// </summary>
public string Text { get; }
/// <summary>
/// This read-only property returns the snippet language
/// </summary>
public string Language { get; }
#endregion
#region Constructor
//=====================================================================
/// <summary>
/// Constructor
/// </summary>
/// <param name="text">The snippet text</param>
/// <param name="language">The snippet language</param>
public StoredSnippet(string text, string language)
{
this.Text = text;
this.Language = language;
}
#endregion
}
}