C# 클래스 Phun.Routing.ResourceVirtualFile

Get virtual file from resource. Also use as a utility class.
상속: System.Web.Hosting.VirtualFile
파일 보기 프로젝트 열기: noogen/phuncms 1 사용 예제들

공개 메소드들

메소드 설명
Open ( ) : Stream

When overridden in a derived class, returns a read-only stream to the virtual resource.

ResourceVirtualFile ( string virtualPath ) : System

Initializes a new instance of the ResourceVirtualFile class.

TrySet304 ( System.Web.HttpContextBase context, double hours = 24 ) : bool

Tries the set304.

WriteFile ( System.Web.HttpContextBase context ) : void

Writes the file.

보호된 메소드들

메소드 설명
ResourceVirtualFile ( ) : System

Initializes a new instance of the ResourceVirtualFile class.

TranslateToResourcePath ( string virtualPath ) : string

Translates to resource path.

메소드 상세

Open() 공개 메소드

When overridden in a derived class, returns a read-only stream to the virtual resource.
public Open ( ) : Stream
리턴 System.IO.Stream

ResourceVirtualFile() 보호된 메소드

Initializes a new instance of the ResourceVirtualFile class.
protected ResourceVirtualFile ( ) : System
리턴 System

ResourceVirtualFile() 공개 메소드

Initializes a new instance of the ResourceVirtualFile class.
public ResourceVirtualFile ( string virtualPath ) : System
virtualPath string The virtual path to the resource represented by this instance.
리턴 System

TranslateToResourcePath() 보호된 메소드

Translates to resource path.
protected TranslateToResourcePath ( string virtualPath ) : string
virtualPath string The virtual path.
리턴 string

TrySet304() 공개 메소드

Tries the set304.
public TrySet304 ( System.Web.HttpContextBase context, double hours = 24 ) : bool
context System.Web.HttpContextBase The context.
hours double
리턴 bool

WriteFile() 공개 메소드

Writes the file.
public WriteFile ( System.Web.HttpContextBase context ) : void
context System.Web.HttpContextBase The context.
리턴 void