C# Class Castle.MonoRail.Framework.Services.DefaultViewComponentFactory

Default implementation of IViewComponentFactory

This implementation looks for concrete types that extend ViewComponent in an assembly

Inheritance: AbstractViewComponentFactory
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
DefaultViewComponentFactory ( ) : System

Constructs a DefaultViewComponentFactory

Initialize ( ) : void

Invoked by the framework in order to initialize the state

Inspect ( Assembly assembly ) : void

Inspect the assembly's public types.

Inspect ( String assemblyFileName ) : void

Loads the assembly and inspect its public types.

Service ( IServiceProvider provider ) : void

Invoked by the framework in order to give a chance to obtain other services

Protected Methods

Method Description
GetViewComponentRegistry ( ) : IViewComponentRegistry

Gets the view component registry.

Method Details

DefaultViewComponentFactory() public method

Constructs a DefaultViewComponentFactory
public DefaultViewComponentFactory ( ) : System
return System

GetViewComponentRegistry() protected method

Gets the view component registry.
protected GetViewComponentRegistry ( ) : IViewComponentRegistry
return IViewComponentRegistry

Initialize() public method

Invoked by the framework in order to initialize the state
public Initialize ( ) : void
return void

Inspect() public method

Inspect the assembly's public types.
public Inspect ( Assembly assembly ) : void
assembly System.Reflection.Assembly
return void

Inspect() public method

Loads the assembly and inspect its public types.
public Inspect ( String assemblyFileName ) : void
assemblyFileName String
return void

Service() public method

Invoked by the framework in order to give a chance to obtain other services
public Service ( IServiceProvider provider ) : void
provider IServiceProvider The service proviver
return void