C# Class TeamBins.Infrastrucutre.AzureBlobStorageHandler

Inheritance: IUploadHandler
Show file 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