fix some register issue
This commit is contained in:
@ -200,9 +200,9 @@ namespace ShellExtensions
|
||||
}
|
||||
|
||||
var interfaces = type.GetInterfaces();
|
||||
bool interfaced = interfaces.Any(x => x is IThumbnailFromStream);
|
||||
bool interfaced = interfaces.Any(x => x == typeof(IThumbnailFromStream));
|
||||
|
||||
if (interfaces.Any(x => x is IThumbnailFromFile))
|
||||
if (interfaces.Any(x => x == typeof(IThumbnailFromFile)))
|
||||
{
|
||||
// According to MSDN (http://msdn.microsoft.com/en-us/library/cc144114(v=VS.85).aspx)
|
||||
// A thumbnail provider that does not implement IInitializeWithStream must opt out of
|
||||
|
Reference in New Issue
Block a user