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

Represents a view source embedded as an assembly resource.
Inheritance: IViewSource
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
EmbeddedResourceViewSource ( String templateName, AssemblySourceInfo sourceInfo ) : System

Initializes a new instance of the EmbeddedResourceViewSource class.

OpenViewStream ( ) : Stream

Opens the view stream.

Method Details

EmbeddedResourceViewSource() public method

Initializes a new instance of the EmbeddedResourceViewSource class.
public EmbeddedResourceViewSource ( String templateName, AssemblySourceInfo sourceInfo ) : System
templateName String Name of the template.
sourceInfo AssemblySourceInfo The source info.
return System

OpenViewStream() public method

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