C# Class Chaos.Mcm.Extension.S3DownloadStrategy

Inheritance: IDownloadStrategy
Mostrar archivo Open project: CHAOS-Community/CHAOS.Portal.MCM

Private Properties

Property Type Description
CreateBucketInfo BucketInfo

Public Methods

Method Description
AllowsDownload ( ) : bool
GetStream ( FileInfo file ) : Attachment
S3DownloadStrategy ( McmModuleConfiguration mcmModuleConfiguration ) : Amazon.Runtime

Private Methods

Method Description
CreateBucketInfo ( string url ) : BucketInfo

Method Details

AllowsDownload() public method

public AllowsDownload ( ) : bool
return bool

GetStream() public method

public GetStream ( FileInfo file ) : Attachment
file Chaos.Mcm.Data.Dto.FileInfo
return Chaos.Portal.Core.Data.Model.Attachment

S3DownloadStrategy() public method

public S3DownloadStrategy ( McmModuleConfiguration mcmModuleConfiguration ) : Amazon.Runtime
mcmModuleConfiguration Chaos.Mcm.Configuration.McmModuleConfiguration
return Amazon.Runtime