C# Class TeamBins.Infrastrucutre.AzureBlobStorageHandler

Inheritance: IUploadHandler
Afficher le fichier Open project: kshyju/ProjectPlanningTool

Méthodes publiques

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

Method Details

AzureBlobStorageHandler() public méthode

public AzureBlobStorageHandler ( IOptions settings ) : System
settings IOptions
Résultat System

IsValid() public méthode

public IsValid ( string fileName, string contentType ) : bool
fileName string
contentType string
Résultat bool

UploadFile() public méthode

public UploadFile ( string fileName, string contentType, Stream stream ) : Task
fileName string
contentType string
stream Stream
Résultat Task