C# Class Castle.MonoRail.Framework.AssemblySourceInfo

Represents a source of views in an assembly resource.
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
AssemblySourceInfo ( string assemblyName, string _namespace ) : System

Initializes a new instance of the AssemblySourceInfo class.

CollectViews ( string dirName, ArrayList views ) : void

Collects the views on the assembly resource.

GetTemplateStream ( String templateName ) : Stream

Gets the template stream.

HasTemplate ( String templateName ) : bool

Determines whether the assembly has the specified template.

Private Methods

Method Description
NormalizeTemplateName ( string templateName ) : String

Normalizes the name of the template.

RegisterEntries ( ) : void

Registers the entries.

Method Details

AssemblySourceInfo() public method

Initializes a new instance of the AssemblySourceInfo class.
public AssemblySourceInfo ( string assemblyName, string _namespace ) : System
assemblyName string Name of the assembly.
_namespace string The _namespace.
return System

CollectViews() public method

Collects the views on the assembly resource.
public CollectViews ( string dirName, ArrayList views ) : void
dirName string Name of the dir.
views System.Collections.ArrayList The views.
return void

GetTemplateStream() public method

Gets the template stream.
public GetTemplateStream ( String templateName ) : Stream
templateName String Name of the template.
return Stream

HasTemplate() public method

Determines whether the assembly has the specified template.
public HasTemplate ( String templateName ) : bool
templateName String Name of the template.
return bool