C# Class SquishIt.S3.S3Renderer

Inheritance: IRenderer, IDisposable
Afficher le fichier Open project: AlexCuse/SquishIt.S3

Private Properties

Свойство Type Description
ContentForUpload Stream
FileExists bool
S3Renderer System
UploadContent void
WithCheckForFileExistence S3Renderer
WithCompressor S3Renderer

Méthodes publiques

Méthode Description
Create ( IAmazonS3 s3client ) : S3Renderer
Dispose ( ) : void
Render ( string content, string outputPath ) : void
WithBucketName ( string bucketName ) : S3Renderer
WithCannedAcl ( S3CannedACL acl ) : S3Renderer
WithDefaultKeyBuilder ( string physicalApplicationPath, string virtualDirectory ) : S3Renderer
WithGZipCompressionEnabled ( ) : S3Renderer
WithHeaders ( NameValueCollection headers ) : S3Renderer
WithInvalidator ( IInvalidator instance ) : S3Renderer
WithKeyBuilder ( IKeyBuilder builder ) : S3Renderer
WithOverwriteBehavior ( bool overwrite ) : S3Renderer

Private Methods

Méthode Description
ContentForUpload ( string content ) : Stream
FileExists ( string key ) : bool
S3Renderer ( IAmazonS3 s3client ) : System
UploadContent ( string key, Stream content ) : void
WithCheckForFileExistence ( ICheckForFileExistence checkForFileExistence ) : S3Renderer
WithCompressor ( ICompressor textCompressor ) : S3Renderer

Method Details

Create() public static méthode

public static Create ( IAmazonS3 s3client ) : S3Renderer
s3client IAmazonS3
Résultat S3Renderer

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Render() public méthode

public Render ( string content, string outputPath ) : void
content string
outputPath string
Résultat void

WithBucketName() public méthode

public WithBucketName ( string bucketName ) : S3Renderer
bucketName string
Résultat S3Renderer

WithCannedAcl() public méthode

public WithCannedAcl ( S3CannedACL acl ) : S3Renderer
acl Amazon.S3.S3CannedACL
Résultat S3Renderer

WithDefaultKeyBuilder() public méthode

public WithDefaultKeyBuilder ( string physicalApplicationPath, string virtualDirectory ) : S3Renderer
physicalApplicationPath string
virtualDirectory string
Résultat S3Renderer

WithGZipCompressionEnabled() public méthode

public WithGZipCompressionEnabled ( ) : S3Renderer
Résultat S3Renderer

WithHeaders() public méthode

public WithHeaders ( NameValueCollection headers ) : S3Renderer
headers System.Collections.Specialized.NameValueCollection
Résultat S3Renderer

WithInvalidator() public méthode

public WithInvalidator ( IInvalidator instance ) : S3Renderer
instance IInvalidator
Résultat S3Renderer

WithKeyBuilder() public méthode

public WithKeyBuilder ( IKeyBuilder builder ) : S3Renderer
builder IKeyBuilder
Résultat S3Renderer

WithOverwriteBehavior() public méthode

public WithOverwriteBehavior ( bool overwrite ) : S3Renderer
overwrite bool
Résultat S3Renderer