Definition at line 11 of file DuplicatedImage.cs.
◆ DuplicatedImage() [1/4]
| ProofOfConcept.DuplicatedImage.DuplicatedImage |
( |
| ) |
|
Definition at line 37 of file DuplicatedImage.cs.
38 {
39 _hash = string.Empty;
40 _originalPath = string.Empty;
41 _duplicateImages = new List<string>();
42 }
◆ DuplicatedImage() [2/4]
| ProofOfConcept.DuplicatedImage.DuplicatedImage |
( |
string | hash | ) |
|
◆ DuplicatedImage() [3/4]
| ProofOfConcept.DuplicatedImage.DuplicatedImage |
( |
string | hash, |
|
|
string | duplicatePath ) |
Definition at line 49 of file DuplicatedImage.cs.
49 : this(hash)
50 {
51 DuplicateImages.Add(duplicatePath);
52 }
◆ DuplicatedImage() [4/4]
| ProofOfConcept.DuplicatedImage.DuplicatedImage |
( |
string | hash, |
|
|
string | originalPath, |
|
|
List< string > | duplicateImages ) |
Definition at line 55 of file DuplicatedImage.cs.
55 : this(hash)
56 {
57 _originalPath = originalPath;
58 _duplicateImages = duplicateImages;
59 }
◆ AddDuplicate()
| void ProofOfConcept.DuplicatedImage.AddDuplicate |
( |
string | path | ) |
|
Definition at line 61 of file DuplicatedImage.cs.
62 {
63 if (!_duplicateImages.Contains(path))
64 _duplicateImages.Add(path);
65 }
◆ ToString()
| override string ProofOfConcept.DuplicatedImage.ToString |
( |
| ) |
|
Definition at line 67 of file DuplicatedImage.cs.
68 {
69 string output = "Hash : " + _hash + "\nOriginal : " + _originalPath + "\nDuplicates : \n";
70 foreach (string image in _duplicateImages)
71 {
72 output += "\t\t" + image + "\n";
73 }
74 return output;
75 }
◆ DuplicateImages
| List<string> ProofOfConcept.DuplicatedImage.DuplicateImages |
|
get |
◆ Hash
| string ProofOfConcept.DuplicatedImage.Hash |
|
get |
Definition at line 18 of file DuplicatedImage.cs.
19 {
20 get { return _hash; }
21 private set { _hash = value; }
22 }
◆ OriginalPath
| string ProofOfConcept.DuplicatedImage.OriginalPath |
|
getset |
Definition at line 25 of file DuplicatedImage.cs.
26 {
27 get { return _originalPath; }
28 set { _originalPath = value; }
29 }
The documentation for this class was generated from the following file: