C# Class Drey.Server.Services.FilesytemFileService

Inheritance: IFileService
Afficher le fichier Open project: dealproc/Drey

Méthodes publiques

Méthode Description
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.

Method Details

DeleteAsync() public méthode

Deletes a file from the storage medium.
public DeleteAsync ( string filename ) : Task
filename string The filename.
Résultat Task

DownloadBlobAsync() public méthode

Downloads the file from the storage medium.
public DownloadBlobAsync ( string filename ) : Task
filename string The uri to access the file.
Résultat Task

EnumerateFilesAsync() public méthode

Enumerates the files on the storage medium.
public EnumerateFilesAsync ( ) : Task>
Résultat Task>

FilesytemFileService() public méthode

public FilesytemFileService ( string baseFolder ) : System.Collections.Generic
baseFolder string
Résultat System.Collections.Generic

StoreAsync() public méthode

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.
Résultat Task