Esempio n. 1
0
 public IDnSpyFile Create(IFileManager fileManager, DnSpyFileInfo fileInfo)
 {
     if (fileInfo.Type == MyDnSpyFile.THE_GUID)
     {
         return(MyDnSpyFile.TryCreate(fileInfo.Name));
     }
     // Also check for normal files
     if (fileInfo.Type == FileConstants.FILETYPE_FILE && IsSupportedFile(fileInfo.Name))
     {
         return(MyDnSpyFile.TryCreate(fileInfo.Name));
     }
     return(null);
 }
Esempio n. 2
0
 public MyDnSpyFileNode(MyDnSpyFile file)
 {
     this.file = file;
 }