/
ChangeSet.cs
63 lines (54 loc) · 1.17 KB
/
ChangeSet.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
using System;
namespace Kudu.Core.SourceControl
{
public class ChangeSet
{
public ChangeSet(string id, string authorName, string authorEmail, string message, DateTimeOffset timestamp)
{
Id = id;
AuthorName = authorName;
AuthorEmail = authorEmail;
Message = message;
Timestamp = timestamp;
}
public string Id
{
get;
private set;
}
public string AuthorName
{
get;
private set;
}
public string AuthorEmail
{
get;
private set;
}
public string Message
{
get;
private set;
}
public DateTimeOffset Timestamp
{
get;
private set;
}
public bool IsTemporary
{
get;
set;
}
public bool IsReadOnly
{
get;
set;
}
public override string ToString()
{
return String.Format("{0} {1} {2} {3}", Id, Timestamp, AuthorName, Message);
}
}
}