C# Class ZinOS.Services.Implementation.DesktopFileSystem.DesktopFileSystemImpl

Inheritance: IDesktopFileSystem
Afficher le fichier Open project: hiddenbyte/ZinOS

Méthodes publiques

Méthode Description
CreateDirectory ( int desktopId, string dirPath ) : bool
CreateFile ( int destkopId, string targetFileNamePath, byte fileData ) : string
CreateFile ( int desktopId, string targetPath, string fileName, Stream fileStream ) : string
DeleteFile ( int desktopId, string filePath ) : bool
DesktopFileSystemImpl ( IEnumerable fileSystemProviders ) : System
GetChildrenItems ( int desktopId, FileSystemItem parentfileSystemItem ) : IEnumerable
GetDesktopRootDirectories ( int desktopId ) : IEnumerable
GetFile ( int desktopId, FileSystemItem fileSystemItem ) : Stream
PrepareFileSystem ( int desktopId ) : bool
UpdateFile ( int desktopId, string filePath, byte fileContent ) : bool
UpdateFile ( int desktopId, string filePath, string fileContent ) : bool

Private Methods

Méthode Description
GetPathProvider ( string filePath, IDesktopFileSystemProvider &provider ) : bool
getProviderName ( string path ) : string
validatePath ( string path ) : bool

Method Details

CreateDirectory() public méthode

public CreateDirectory ( int desktopId, string dirPath ) : bool
desktopId int
dirPath string
Résultat bool

CreateFile() public méthode

public CreateFile ( int destkopId, string targetFileNamePath, byte fileData ) : string
destkopId int
targetFileNamePath string
fileData byte
Résultat string

CreateFile() public méthode

public CreateFile ( int desktopId, string targetPath, string fileName, Stream fileStream ) : string
desktopId int
targetPath string
fileName string
fileStream Stream
Résultat string

DeleteFile() public méthode

public DeleteFile ( int desktopId, string filePath ) : bool
desktopId int
filePath string
Résultat bool

DesktopFileSystemImpl() public méthode

public DesktopFileSystemImpl ( IEnumerable fileSystemProviders ) : System
fileSystemProviders IEnumerable
Résultat System

GetChildrenItems() public méthode

public GetChildrenItems ( int desktopId, FileSystemItem parentfileSystemItem ) : IEnumerable
desktopId int
parentfileSystemItem ZinOS.Services.Definitions.DesktopFileSystem.FileSystemItem
Résultat IEnumerable

GetDesktopRootDirectories() public méthode

public GetDesktopRootDirectories ( int desktopId ) : IEnumerable
desktopId int
Résultat IEnumerable

GetFile() public méthode

public GetFile ( int desktopId, FileSystemItem fileSystemItem ) : Stream
desktopId int
fileSystemItem ZinOS.Services.Definitions.DesktopFileSystem.FileSystemItem
Résultat Stream

PrepareFileSystem() public méthode

public PrepareFileSystem ( int desktopId ) : bool
desktopId int
Résultat bool

UpdateFile() public méthode

public UpdateFile ( int desktopId, string filePath, byte fileContent ) : bool
desktopId int
filePath string
fileContent byte
Résultat bool

UpdateFile() public méthode

public UpdateFile ( int desktopId, string filePath, string fileContent ) : bool
desktopId int
filePath string
fileContent string
Résultat bool