Method | Description | |
---|---|---|
FileManager ( |
||
GetFile ( string fileName ) : Stream | ||
GetImage ( string imageName ) : Stream | ||
UploadFileAsync ( |
||
UploadImageAsync ( |
Method | 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 | |
return | Common.System |
public GetImage ( string imageName ) : Stream | ||
imageName | string | |
return | Stream |
public UploadFileAsync ( |
||
content | ||
return | Task |
public UploadImageAsync ( |
||
content | ||
return | Task |