make class instead of module
This commit is contained in:
@@ -2,16 +2,16 @@
|
||||
|
||||
Namespace Mapped
|
||||
|
||||
Public Module IconExtractor
|
||||
Public Class IconExtractor
|
||||
|
||||
Public Function ExtractIconFromFilePath(filePath As String, size As SystemIconSize) As Icon
|
||||
Public Shared Function ExtractIconFromFilePath(filePath As String, size As SystemIconSize) As Icon
|
||||
Return Internals.IconExtractor.ExtractIcon(filePath, size)
|
||||
End Function
|
||||
|
||||
Public Function ExtractIconFromFileExtension(fileExtension As String, size As SystemIconSize)
|
||||
Public Shared Function ExtractIconFromFileExtension(fileExtension As String, size As SystemIconSize)
|
||||
Return Internals.IconFactory.IconFromExtensionShell(fileExtension, size)
|
||||
End Function
|
||||
|
||||
End Module
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
|
||||
Reference in New Issue
Block a user