메소드 | 설명 | |
---|---|---|
IsValid ( string fileName, string contentType ) : bool | ||
LocalFileSystemStorageHandler ( IOptions |
||
UploadFile ( string fileName, string contentType, Stream stream ) : Task |
메소드 | 설명 | |
---|---|---|
GetFullUrl ( string prefix, string fileName ) : string |
public IsValid ( string fileName, string contentType ) : bool | ||
fileName | string | |
contentType | string | |
리턴 | bool |
public LocalFileSystemStorageHandler ( IOptions |
||
settings | IOptions |
|
hostingEnvironment | IHostingEnvironment | |
리턴 | System |
public UploadFile ( string fileName, string contentType, Stream stream ) : Task |
||
fileName | string | |
contentType | string | |
stream | Stream | |
리턴 | Task |