C# 클래스 Castle.MonoRail.Framework.Services.AbstractViewComponentFactory

Base implementation for IViewComponentFactory
상속: IInitializable, IServiceEnabledComponent, IViewComponentFactory
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono

공개 메소드들

메소드 설명
Create ( String name ) : ViewComponent

Creates an instance of the requested ViewComponent

Initialize ( ) : void

Invoked by the framework in order to initialize the state

Release ( ViewComponent instance ) : void

Releases a ViewComponent instance

Not currently used

Service ( IServiceProvider provider ) : void

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

보호된 메소드들

메소드 설명
AbstractViewComponentFactory ( ) : System

Initializes a new instance of the AbstractViewComponentFactory class.

AddBuiltInComponents ( ) : void

Registers viewcomponents provided by default. CaptureFor SecurityComponent

GetViewComponentRegistry ( ) : IViewComponentRegistry

Gets the view component registry.

RegisterComponent ( String name, Type type ) : void

Registers a view component type.

ResolveType ( string name ) : Type

Resolves the type.

메소드 상세

AbstractViewComponentFactory() 보호된 메소드

Initializes a new instance of the AbstractViewComponentFactory class.
protected AbstractViewComponentFactory ( ) : System
리턴 System

AddBuiltInComponents() 보호된 메소드

Registers viewcomponents provided by default. CaptureFor SecurityComponent
protected AddBuiltInComponents ( ) : void
리턴 void

Create() 공개 메소드

Creates an instance of the requested ViewComponent
public Create ( String name ) : ViewComponent
name String The view component's name
리턴 ViewComponent

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

RegisterComponent() 보호된 메소드

Registers a view component type.
protected RegisterComponent ( String name, Type type ) : void
name String The view components's name
type System.Type The view component's which must extend
리턴 void

Release() 공개 메소드

Releases a ViewComponent instance
Not currently used
public Release ( ViewComponent instance ) : void
instance ViewComponent
리턴 void

ResolveType() 보호된 메소드

Resolves the type.
protected ResolveType ( string name ) : Type
name string The name.
리턴 System.Type

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