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

Inheritance: IDesktopFileSystemProvider
ファイルを表示 Open project: hiddenbyte/ZinOS

Public Methods

Method Description
CreateDirectory ( int desktopId, string dirPath ) : bool
CreateFile ( int destkopId, string targetFileNamePath, Stream fileStream ) : string
CreateFile ( int desktopId, string targetPath, string fileName, Stream fileStream ) : string
DeleteFile ( int desktopId, string filePath ) : bool
GetChildrenItems ( int desktopId, FileSystemItem parent ) : IEnumerable
GetFile ( int desktopId, FileSystemItem fileSystemItem ) : Stream
GetRoot ( int desktopId ) : FileSystemItem
LocalFileSystemProvider ( IFileSystemService localFileSystemService ) : System
PrepareFileSystem ( int desktopId ) : bool
UpdateFile ( int desktopId, string filePath, byte fileBytes ) : bool

Private Methods

Method Description
GetLocalFileSystemRelativePath ( int desktopId, string relativePath ) : string

Method Details

CreateDirectory() public method

public CreateDirectory ( int desktopId, string dirPath ) : bool
desktopId int
dirPath string
return bool

CreateFile() public method

public CreateFile ( int destkopId, string targetFileNamePath, Stream fileStream ) : string
destkopId int
targetFileNamePath string
fileStream Stream
return string

CreateFile() public method

public CreateFile ( int desktopId, string targetPath, string fileName, Stream fileStream ) : string
desktopId int
targetPath string
fileName string
fileStream Stream
return string

DeleteFile() public method

public DeleteFile ( int desktopId, string filePath ) : bool
desktopId int
filePath string
return bool

GetChildrenItems() public method

public GetChildrenItems ( int desktopId, FileSystemItem parent ) : IEnumerable
desktopId int
parent ZinOS.Services.Definitions.DesktopFileSystem.FileSystemItem
return IEnumerable

GetFile() public method

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

GetRoot() public method

public GetRoot ( int desktopId ) : FileSystemItem
desktopId int
return ZinOS.Services.Definitions.DesktopFileSystem.FileSystemItem

LocalFileSystemProvider() public method

public LocalFileSystemProvider ( IFileSystemService localFileSystemService ) : System
localFileSystemService IFileSystemService
return System

PrepareFileSystem() public method

public PrepareFileSystem ( int desktopId ) : bool
desktopId int
return bool

UpdateFile() public method

public UpdateFile ( int desktopId, string filePath, byte fileBytes ) : bool
desktopId int
filePath string
fileBytes byte
return bool