C# Class EA.Iws.Web.Infrastructure.FileAccess

Inheritance: IFileAccess
Afficher le fichier Open project: EnvironmentAgency/prsd-iws

Méthodes publiques

Méthode Description
DeleteFile ( string filePath ) : void
FileExists ( string filePath ) : bool
MapPath ( string virtualPath ) : string
WriteFile ( string fileName, byte fileBytes ) : void
WriteFileAsync ( string fileName, byte fileBytes ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
EnsureDirectoryExists ( string fileName ) : void

Method Details

DeleteFile() public méthode

public DeleteFile ( string filePath ) : void
filePath string
Résultat void

FileExists() public méthode

public FileExists ( string filePath ) : bool
filePath string
Résultat bool

MapPath() public méthode

public MapPath ( string virtualPath ) : string
virtualPath string
Résultat string

WriteFile() public méthode

public WriteFile ( string fileName, byte fileBytes ) : void
fileName string
fileBytes byte
Résultat void

WriteFileAsync() public méthode

public WriteFileAsync ( string fileName, byte fileBytes ) : System.Threading.Tasks.Task
fileName string
fileBytes byte
Résultat System.Threading.Tasks.Task