C# Class TeamBins.Infrastrucutre.AzureBlobStorageHandler

Inheritance: IUploadHandler
显示文件 Open project: kshyju/ProjectPlanningTool

Public Methods

Method Description
AzureBlobStorageHandler ( IOptions settings ) : System
IsValid ( string fileName, string contentType ) : bool
UploadFile ( string fileName, string contentType, Stream stream ) : Task

Method Details

AzureBlobStorageHandler() public method

public AzureBlobStorageHandler ( IOptions settings ) : System
settings IOptions
return System

IsValid() public method

public IsValid ( string fileName, string contentType ) : bool
fileName string
contentType string
return bool

UploadFile() public method

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