C# Class WebFiles.Mvc.Providers.FileSystemProvider

Inheritance: IStorageProvider
Mostra file Open project: rjnienaber/webfiles Class Usage Examples

Public Methods

Method Description
CheckExists ( string relativePath ) : bool
Copy ( string relativeSourcePath, string relativeDestinationPath ) : void
CreateCollection ( string relativePath ) : void
Delete ( string relativePath ) : void
FileSystemProvider ( string basePath ) : System
Move ( string relativeSourcePath, string relativeDestinationPath ) : void
Process ( PropfindRequest request ) : MultiStatusResult
Read ( string relativePath ) : Stream
Save ( string relativePath, Stream input ) : void

Private Methods

Method Description
FileSystemProvider ( ) : System
GetFullPath ( string additionalPath ) : string
IsACollection ( string fullPath ) : bool
JoinRelativePath ( string basePath, string additionalPath ) : string
Process ( PropfindRequest request, string relativePath, int currentDepth, MultiStatusResult multiStatus ) : void

Method Details

CheckExists() public method

public CheckExists ( string relativePath ) : bool
relativePath string
return bool

Copy() public method

public Copy ( string relativeSourcePath, string relativeDestinationPath ) : void
relativeSourcePath string
relativeDestinationPath string
return void

CreateCollection() public method

public CreateCollection ( string relativePath ) : void
relativePath string
return void

Delete() public method

public Delete ( string relativePath ) : void
relativePath string
return void

FileSystemProvider() public method

public FileSystemProvider ( string basePath ) : System
basePath string
return System

Move() public method

public Move ( string relativeSourcePath, string relativeDestinationPath ) : void
relativeSourcePath string
relativeDestinationPath string
return void

Process() public method

public Process ( PropfindRequest request ) : MultiStatusResult
request PropfindRequest
return WebFiles.Mvc.ActionResults.MultiStatusResult

Read() public method

public Read ( string relativePath ) : Stream
relativePath string
return Stream

Save() public method

public Save ( string relativePath, Stream input ) : void
relativePath string
input Stream
return void