C# Class Rock.Storage.Provider.FileSystem

Inheritance: ProviderComponent
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
DeleteContent ( BinaryFile binaryFile ) : void

Deletes the content from the external storage medium associated with the provider.

GetContentStream ( BinaryFile binaryFile ) : Stream

Gets the contents from the external storage medium associated with the provider

GetPath ( BinaryFile file ) : string

Gets the path.

SaveContent ( BinaryFile binaryFile ) : void

Saves the binary file contents to the external storage medium associated with the provider.

Private Methods

Méthode Description
GetFilePath ( BinaryFile binaryFile ) : string

Gets the file path.

GetRelativePath ( BinaryFile binaryFile ) : string

Gets the relative path.

Method Details

DeleteContent() public méthode

Deletes the content from the external storage medium associated with the provider.
public DeleteContent ( BinaryFile binaryFile ) : void
binaryFile BinaryFile The binary file.
Résultat void

GetContentStream() public méthode

Gets the contents from the external storage medium associated with the provider
public GetContentStream ( BinaryFile binaryFile ) : Stream
binaryFile BinaryFile The binary file.
Résultat Stream

GetPath() public méthode

Gets the path.
public GetPath ( BinaryFile file ) : string
file BinaryFile The file.
Résultat string

SaveContent() public méthode

Saves the binary file contents to the external storage medium associated with the provider.
File Data must not be null.
public SaveContent ( BinaryFile binaryFile ) : void
binaryFile BinaryFile The binary file.
Résultat void