Interface IVirtualFileSystem
  
  
  
  Assembly: SociallyDistant.Framework.dll
  Syntax
  
    public interface IVirtualFileSystem
   
  Methods
  
  CreateDirectory(string)
  
  
  Declaration
  
    void CreateDirectory(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  
  DeleteDirectory(string)
  
  
  Declaration
  
    void DeleteDirectory(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  
  DeleteFile(string)
  
  
  Declaration
  
    void DeleteFile(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  
  DirectoryExists(string)
  
  
  Declaration
  
    bool DirectoryExists(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  EnumeratePaths(string, EntryTypes, bool)
  
  
  Declaration
  
    IEnumerable<string> EnumeratePaths(string path, EntryTypes entryTypes = EntryTypes.All, bool recursive = false)
   
  Parameters
  
  Returns
  
  
  Execute(ISystemProcess, string, IConsoleDriver, string[])
  
  
  Declaration
  
    Task<ISystemProcess> Execute(ISystemProcess parent, string path, IConsoleDriver console, string[] arguments)
   
  Parameters
  
  Returns
  
  
  FileExists(string)
  
  
  Declaration
  
    bool FileExists(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  GetDirectories(string)
  
  
  Declaration
  
    IEnumerable<string> GetDirectories(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  GetFiles(string)
  
  
  Declaration
  
    IEnumerable<string> GetFiles(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  IsExecutable(string)
  
  
  Declaration
  
    bool IsExecutable(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  Mount(string, IFileSystem)
  
  
  Declaration
  
    void Mount(string path, IFileSystem filesystem)
   
  Parameters
  
  
  OpenRead(string)
  
  
  Declaration
  
    Stream OpenRead(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  OpenWrite(string)
  
  
  Declaration
  
    Stream OpenWrite(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  OpenWriteAppend(string)
  
  
  Declaration
  
    Stream OpenWriteAppend(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  ReadAllBytes(string)
  
  
  Declaration
  
    byte[] ReadAllBytes(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  ReadAllText(string)
  
  
  Declaration
  
    string ReadAllText(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  Returns
  
  
  Unmount(string)
  
  
  Declaration
  
    void Unmount(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | string | path |  | 
    
  
  
  WriteAllBytes(string, byte[])
  
  
  Declaration
  
    void WriteAllBytes(string path, byte[] bytes)
   
  Parameters
  
  
  WriteAllText(string, string)
  
  
  Declaration
  
    void WriteAllText(string path, string text)
   
  Parameters