Ejemplo n.º 1
0
 public bool CanOpenFile(Framework.FileSystem.FilePath filePath)
 {
     return(new string[] { ".resx", ".resources" }.Contains(filePath.Extension));
 }
Ejemplo n.º 2
0
 public object ReadFile(Framework.FileSystem.FilePath file)
 {
     return(null);
 }
Ejemplo n.º 3
0
 public object ReadFile(Framework.FileSystem.FilePath file)
 {
     return(Bitmap.FromFile(file.FullPath));
 }
Ejemplo n.º 4
0
 public bool SupportsFile(Framework.FileSystem.FilePath file)
 {
     return(false);
 }
Ejemplo n.º 5
0
 public bool SupportsFile(Framework.FileSystem.FilePath file)
 {
     return(_supportedExtensions.Contains(file.Extension, StringComparer.OrdinalIgnoreCase));
 }