C# Class Castle.MonoRail.Framework.Views.FileViewSource

Represents a view template source on the file system.
Inheritance: IViewSource
Mostrar archivo Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
FileViewSource ( FileInfo fileInfo, bool enableCache ) : System.IO

Initializes a new instance of the FileViewSource class.

OpenViewStream ( ) : Stream

Opens the view stream.

Method Details

FileViewSource() public method

Initializes a new instance of the FileViewSource class.
public FileViewSource ( FileInfo fileInfo, bool enableCache ) : System.IO
fileInfo System.IO.FileInfo The file info.
enableCache bool if set to true [enable cache].
return System.IO

OpenViewStream() public method

Opens the view stream.
public OpenViewStream ( ) : Stream
return System.IO.Stream