forked from sbozzie/test-intel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUpdateEventArgs.cs
More file actions
30 lines (25 loc) · 927 Bytes
/
Copy pathUpdateEventArgs.cs
File metadata and controls
30 lines (25 loc) · 927 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestIntelReporter {
/// <summary>
/// Notifies the client process that a new version of the
/// monitored software is available.
/// </summary>
[Serializable]
public class UpdateEventArgs : EventArgs {
private readonly Version oldVersion;
private readonly Version newVersion;
private readonly string updateUri;
public UpdateEventArgs(Version oldVersion, Version newVersion,
string updateUri) {
this.oldVersion = oldVersion;
this.newVersion = newVersion;
this.updateUri = updateUri;
}
public Version OldVersion { get { return this.oldVersion; } }
public Version NewVersion { get { return this.newVersion; } }
public string UpdateUri { get { return this.updateUri; } }
}
}