QuickImage – Diff between revs 1 and 2
?pathlinks?
Rev 1 | Rev 2 | |||
---|---|---|---|---|
Line -... | Line 1... | |||
- | 1 | using System; |
||
1 | using System.Collections.Generic; |
2 | using System.Collections.Generic; |
|
2 | using System.ComponentModel; |
3 | using System.ComponentModel; |
|
3 | using System.Runtime.CompilerServices; |
4 | using System.Runtime.CompilerServices; |
|
4 | using System.Xml.Serialization; |
5 | using System.Xml.Serialization; |
|
Line 5... | Line 6... | |||
5 | |
6 | |
|
Line 55... | Line 56... | |||
55 | public SupportedFormats() |
56 | public SupportedFormats() |
|
56 | { |
57 | { |
|
57 | } |
58 | } |
|
Line 58... | Line 59... | |||
58 | |
59 | |
|
59 | public event PropertyChangedEventHandler PropertyChanged; |
60 | public event PropertyChangedEventHandler PropertyChanged; |
|
60 | private readonly HashSet<string> supportedImages = new HashSet<string>(); |
61 | private readonly HashSet<string> supportedImages = new HashSet<string>(StringComparer.OrdinalIgnoreCase); |
|
Line 61... | Line 62... | |||
61 | private readonly HashSet<string> supportedVideos = new HashSet<string>(); |
62 | private readonly HashSet<string> supportedVideos = new HashSet<string>(StringComparer.OrdinalIgnoreCase); |
|
62 | |
63 | |
|
63 | public bool IsSupported(string mime) |
64 | public bool IsSupported(string mime) |
|
64 | { |
65 | { |