-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImageSet.cs
More file actions
executable file
·39 lines (37 loc) · 1010 Bytes
/
ImageSet.cs
File metadata and controls
executable file
·39 lines (37 loc) · 1010 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
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace ImageVerifier.ImageManagement
{
public class ImageSet : IDisposable
{
public Image Diff;
public Image Image1Annotated;
public Image Image2Annotated;
public bool AreDifferent;
public ImageSet(Image diff, Image image1diff, Image image2diff, bool areDifferent)
{
Diff = diff;
Image1Annotated = image1diff;
Image2Annotated = image2diff;
AreDifferent = areDifferent;
}
public void Dispose()
{
if (Diff != null)
{
Diff.Dispose();
}
if (Image1Annotated != null)
{
Image1Annotated.Dispose();
}
if (Image2Annotated != null)
{
Image2Annotated.Dispose();
}
}
}
}