C# 클래스 TeamBins.Infrastrucutre.LocalFileSystemStorageHandler

상속: IUploadHandler
파일 보기 프로젝트 열기: kshyju/ProjectPlanningTool

공개 메소드들

메소드 설명
IsValid ( string fileName, string contentType ) : bool
LocalFileSystemStorageHandler ( IOptions settings, IHostingEnvironment hostingEnvironment ) : System
UploadFile ( string fileName, string contentType, Stream stream ) : Task

비공개 메소드들

메소드 설명
GetFullUrl ( string prefix, string fileName ) : string

메소드 상세

IsValid() 공개 메소드

public IsValid ( string fileName, string contentType ) : bool
fileName string
contentType string
리턴 bool

LocalFileSystemStorageHandler() 공개 메소드

public LocalFileSystemStorageHandler ( IOptions settings, IHostingEnvironment hostingEnvironment ) : System
settings IOptions
hostingEnvironment IHostingEnvironment
리턴 System

UploadFile() 공개 메소드

public UploadFile ( string fileName, string contentType, Stream stream ) : Task
fileName string
contentType string
stream Stream
리턴 Task