C# 클래스 Rock.Storage.ProviderComponent

Base class for BinaryFile storage components
상속: Rock.Extension.Component
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
DeleteContent ( BinaryFile file ) : void

Deletes the content from the external storage medium associated with the provider.

GetContentStream ( BinaryFile file ) : Stream

Gets the contents from the external storage medium associated with the provider

GetPath ( BinaryFile file ) : string

Gets the path.

GetUrl ( BinaryFile file ) : string

Generate a URL for the file based on the rules of the StorageProvider

ProviderComponent ( ) : System

Initializes a new instance of the ProviderComponent class.

SaveContent ( BinaryFile file ) : void

Saves the binary file contents to the external storage medium associated with the provider.

메소드 상세

DeleteContent() 공개 추상적인 메소드

Deletes the content from the external storage medium associated with the provider.
public abstract DeleteContent ( BinaryFile file ) : void
file BinaryFile The file.
리턴 void

GetContentStream() 공개 추상적인 메소드

Gets the contents from the external storage medium associated with the provider
public abstract GetContentStream ( BinaryFile file ) : Stream
file BinaryFile The file.
리턴 Stream

GetPath() 공개 메소드

Gets the path.
public GetPath ( BinaryFile file ) : string
file BinaryFile The file.
리턴 string

GetUrl() 공개 메소드

Generate a URL for the file based on the rules of the StorageProvider
public GetUrl ( BinaryFile file ) : string
file BinaryFile The file.
리턴 string

ProviderComponent() 공개 메소드

Initializes a new instance of the ProviderComponent class.
public ProviderComponent ( ) : System
리턴 System

SaveContent() 공개 추상적인 메소드

Saves the binary file contents to the external storage medium associated with the provider.
public abstract SaveContent ( BinaryFile file ) : void
file BinaryFile The file.
리턴 void