C# Class GoogleCloudSamples.Services.ImageUploader

Exibir arquivo Open project: GoogleCloudPlatform/getting-started-dotnet Class Usage Examples

Public Methods

Method Description
DeleteUploadedImage ( long id ) : System.Threading.Tasks.Task
ImageUploader ( string bucketName ) : Google.Apis.Storage.v1
UploadImage ( HttpPostedFileBase image, long id ) : Task

Method Details

DeleteUploadedImage() public method

public DeleteUploadedImage ( long id ) : System.Threading.Tasks.Task
id long
return System.Threading.Tasks.Task

ImageUploader() public method

public ImageUploader ( string bucketName ) : Google.Apis.Storage.v1
bucketName string
return Google.Apis.Storage.v1

UploadImage() public method

public UploadImage ( HttpPostedFileBase image, long id ) : Task
image HttpPostedFileBase
id long
return Task