C# Класс Castle.MonoRail.Framework.Services.DefaultViewComponentFactory

Default implementation of IViewComponentFactory

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

Наследование: AbstractViewComponentFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
GetViewComponentRegistry ( ) : IViewComponentRegistry

Gets the view component registry.

Описание методов

DefaultViewComponentFactory() публичный Метод

Constructs a DefaultViewComponentFactory
public DefaultViewComponentFactory ( ) : System
Результат System

GetViewComponentRegistry() защищенный Метод

Gets the view component registry.
protected GetViewComponentRegistry ( ) : IViewComponentRegistry
Результат IViewComponentRegistry

Initialize() публичный Метод

Invoked by the framework in order to initialize the state
public Initialize ( ) : void
Результат void

Inspect() публичный Метод

Inspect the assembly's public types.
public Inspect ( Assembly assembly ) : void
assembly System.Reflection.Assembly
Результат void

Inspect() публичный Метод

Loads the assembly and inspect its public types.
public Inspect ( String assemblyFileName ) : void
assemblyFileName String
Результат void

Service() публичный Метод

Invoked by the framework in order to give a chance to obtain other services
public Service ( IServiceProvider provider ) : void
provider IServiceProvider The service proviver
Результат void