-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathNotifyObject.cs
41 lines (29 loc) · 1.01 KB
/
NotifyObject.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
using System;
using Microsoft.TeamFoundation.VersionControl.Client;
using TfsCommitMonitor.SourceControl;
namespace TfsCommitMonitor
{
public class NotifyObject
{
#region Constructors
public NotifyObject(string message, string title, int changeset, string projectId, string folderId, bool alternate)
{
Message = message;
Title = title;
Backcolor = alternate ? "#FFFFFF" : "#DFDFDF";
ChangesetNumber = changeset;
ProjectId = projectId;
FolderId = folderId;
}
#endregion
#region Public properties
public string Title { get; set; }
public string ProjectId { get; set; }
public string FolderId { get; set; }
public TfsCheckin ChangesetInfo { get; set; }
public string Message { get; set; }
public String Backcolor { get; set; }
public int ChangesetNumber { get; set; }
#endregion
}
}