C# Класс Rock.Storage.Provider.FileSystem

Наследование: ProviderComponent
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetFilePath ( BinaryFile binaryFile ) : string

Gets the file path.

GetRelativePath ( BinaryFile binaryFile ) : string

Gets the relative path.

Описание методов

DeleteContent() публичный Метод

Deletes the content from the external storage medium associated with the provider.
public DeleteContent ( BinaryFile binaryFile ) : void
binaryFile BinaryFile The binary file.
Результат void

GetContentStream() публичный Метод

Gets the contents from the external storage medium associated with the provider
public GetContentStream ( BinaryFile binaryFile ) : Stream
binaryFile BinaryFile The binary file.
Результат Stream

GetPath() публичный Метод

Gets the path.
public GetPath ( BinaryFile file ) : string
file BinaryFile The file.
Результат string

SaveContent() публичный Метод

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.
Результат void