C# Класс Drey.Server.Services.FilesytemFileService

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

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

Метод Описание
DeleteAsync ( string filename ) : Task

Deletes a file from the storage medium.

DownloadBlobAsync ( string filename ) : Task

Downloads the file from the storage medium.

EnumerateFilesAsync ( ) : Task>

Enumerates the files on the storage medium.

FilesytemFileService ( string baseFolder ) : System.Collections.Generic
StoreAsync ( string fileName, System stream ) : Task

Stores the provided string with the provided filename.

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

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

Deletes a file from the storage medium.
public DeleteAsync ( string filename ) : Task
filename string The filename.
Результат Task

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

Downloads the file from the storage medium.
public DownloadBlobAsync ( string filename ) : Task
filename string The uri to access the file.
Результат Task

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

Enumerates the files on the storage medium.
public EnumerateFilesAsync ( ) : Task>
Результат Task>

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

public FilesytemFileService ( string baseFolder ) : System.Collections.Generic
baseFolder string
Результат System.Collections.Generic

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

Stores the provided string with the provided filename.
public StoreAsync ( string fileName, System stream ) : Task
fileName string Name of the file.
stream System The stream.
Результат Task