-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathKeyTerm.cs
More file actions
30 lines (28 loc) · 820 Bytes
/
KeyTerm.cs
File metadata and controls
30 lines (28 loc) · 820 Bytes
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
using System.Collections.Generic;
using System.Linq;
using SIL.Scripture;
public class KeyTerm
{
public string Id { get; }
public string Category { get; }
public string Domain { get; }
public IReadOnlyList<string> Renderings { get; }
public IReadOnlyList<VerseRef> References { get; }
public IReadOnlyList<string> RenderingsPatterns { get; }
public KeyTerm(
string id,
string category,
string domain,
IEnumerable<string> renderings,
IEnumerable<VerseRef> references,
IEnumerable<string> renderingsPatterns
)
{
Id = id;
Category = category;
Domain = domain;
Renderings = renderings.ToArray();
References = references.ToArray();
RenderingsPatterns = renderingsPatterns.ToArray();
}
}