-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIQuote.cs
40 lines (34 loc) · 796 Bytes
/
IQuote.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
using System;
namespace JollyQuotes
{
/// <summary>
/// Defines an actual quote along with additional data, such as the quote's author or its source.
/// </summary>
public interface IQuote
{
/// <summary>
/// Author of the quote.
/// </summary>
string Author { get; }
/// <summary>
/// Date at which the quote was said/written.
/// </summary>
DateTime? Date { get; }
/// <summary>
/// Unique id of the quote.
/// </summary>
Id Id { get; }
/// <summary>
/// Source of the quote, e.g. a link, file name or raw text.
/// </summary>
string Source { get; }
/// <summary>
/// Tags that are applicable to this quote.
/// </summary>
string[] Tags { get; }
/// <summary>
/// Actual text of the quote.
/// </summary>
string Value { get; }
}
}