Méthode | Description | |
---|---|---|
FileManager ( |
||
GetFile ( string fileName ) : Stream | ||
GetImage ( string imageName ) : Stream | ||
UploadFileAsync ( |
||
UploadImageAsync ( |
Méthode | Description | |
---|---|---|
CreateFoldersIfNeeded ( ) : void | ||
GenerateRandomFileName ( string fileName ) : string | ||
GetAnyFile ( string folderPath, string fileName ) : Stream | ||
GetFileExtension ( string fileName ) : string | ||
RenameFile ( string originalFullName, string newFileFullName ) : void | ||
SaltFileNameWithCurrentDate ( string fileName ) : string | ||
UploadAnyFileAsync ( |
public FileManager ( |
||
fileStorageSettings | ||
imageResizer | IImageResizer | |
Résultat | Common.System |
public GetFile ( string fileName ) : Stream | ||
fileName | string | |
Résultat | Stream |
public GetImage ( string imageName ) : Stream | ||
imageName | string | |
Résultat | Stream |
public UploadFileAsync ( |
||
content | ||
Résultat | Task |
public UploadImageAsync ( |
||
content | ||
Résultat | Task |