C# 클래스 SquishIt.S3.S3Renderer

상속: IRenderer, IDisposable
파일 보기 프로젝트 열기: AlexCuse/SquishIt.S3

Private Properties

프로퍼티 타입 설명
ContentForUpload Stream
FileExists bool
S3Renderer System
UploadContent void
WithCheckForFileExistence S3Renderer
WithCompressor S3Renderer

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Create() 공개 정적인 메소드

public static Create ( IAmazonS3 s3client ) : S3Renderer
s3client IAmazonS3
리턴 S3Renderer

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Render() 공개 메소드

public Render ( string content, string outputPath ) : void
content string
outputPath string
리턴 void

WithBucketName() 공개 메소드

public WithBucketName ( string bucketName ) : S3Renderer
bucketName string
리턴 S3Renderer

WithCannedAcl() 공개 메소드

public WithCannedAcl ( S3CannedACL acl ) : S3Renderer
acl Amazon.S3.S3CannedACL
리턴 S3Renderer

WithDefaultKeyBuilder() 공개 메소드

public WithDefaultKeyBuilder ( string physicalApplicationPath, string virtualDirectory ) : S3Renderer
physicalApplicationPath string
virtualDirectory string
리턴 S3Renderer

WithGZipCompressionEnabled() 공개 메소드

public WithGZipCompressionEnabled ( ) : S3Renderer
리턴 S3Renderer

WithHeaders() 공개 메소드

public WithHeaders ( NameValueCollection headers ) : S3Renderer
headers System.Collections.Specialized.NameValueCollection
리턴 S3Renderer

WithInvalidator() 공개 메소드

public WithInvalidator ( IInvalidator instance ) : S3Renderer
instance IInvalidator
리턴 S3Renderer

WithKeyBuilder() 공개 메소드

public WithKeyBuilder ( IKeyBuilder builder ) : S3Renderer
builder IKeyBuilder
리턴 S3Renderer

WithOverwriteBehavior() 공개 메소드

public WithOverwriteBehavior ( bool overwrite ) : S3Renderer
overwrite bool
리턴 S3Renderer