C# Class IronPigeon.Relay.Controllers.BlobController

Inheritance: ApiController
显示文件 Open project: AArnott/IronPigeon

Public Methods

Method Description
BlobController ( ) : System

Initializes a new instance of the BlobController class.

BlobController ( string cloudConfigurationName, string containerName = DefaultContainerName ) : System

Initializes a new instance of the BlobController class.

Post ( [ lifetimeInMinutes ) : Task

Private Methods

Method Description
GetDisallowedLifetimeResponse ( long blobSize, System.TimeSpan lifetime ) : HttpResponseMessage
OneTimeInitializeAsync ( CloudStorageAccount azureAccount ) : System.Threading.Tasks.Task

Method Details

BlobController() public method

Initializes a new instance of the BlobController class.
public BlobController ( ) : System
return System

BlobController() public method

Initializes a new instance of the BlobController class.
public BlobController ( string cloudConfigurationName, string containerName = DefaultContainerName ) : System
cloudConfigurationName string Name of the cloud configuration.
containerName string The name of the Azure blob container to upload to.
return System

Post() public method

public Post ( [ lifetimeInMinutes ) : Task
lifetimeInMinutes [
return Task