C# 클래스 Castle.MicroKernel.ModelBuilder.Inspectors.ComponentActivatorInspector

상속: IContributeComponentModelConstruction
파일 보기 프로젝트 열기: castleproject/Windsor

공개 메소드들

메소드 설명
ComponentActivatorInspector ( IConversionManager converter ) : System
ProcessModel ( IKernel kernel, ComponentModel model ) : void

Searches for the component activator in the configuration and, if unsuccessful look for the component activator attribute in the implementation type.

보호된 메소드들

메소드 설명
ReadComponentActivatorFromConfiguration ( ComponentModel model ) : bool

Reads the attribute "componentActivatorType" associated with the component configuration and verifies it implements the IComponentActivator interface.

ReadComponentActivatorFromType ( ComponentModel model ) : void

Check if the type expose one of the component activator attributes defined in Castle.Core namespace.

ValidateComponentActivator ( Type customComponentActivator ) : void

Validates that the provide type implements IComponentActivator

메소드 상세

ComponentActivatorInspector() 공개 메소드

public ComponentActivatorInspector ( IConversionManager converter ) : System
converter IConversionManager
리턴 System

ProcessModel() 공개 메소드

Searches for the component activator in the configuration and, if unsuccessful look for the component activator attribute in the implementation type.
public ProcessModel ( IKernel kernel, ComponentModel model ) : void
kernel IKernel The kernel instance
model Castle.Core.ComponentModel The model instance
리턴 void

ReadComponentActivatorFromConfiguration() 보호된 메소드

Reads the attribute "componentActivatorType" associated with the component configuration and verifies it implements the IComponentActivator interface.
/// If the type does not implement the proper interface ///
protected ReadComponentActivatorFromConfiguration ( ComponentModel model ) : bool
model Castle.Core.ComponentModel
리턴 bool

ReadComponentActivatorFromType() 보호된 메소드

Check if the type expose one of the component activator attributes defined in Castle.Core namespace.
protected ReadComponentActivatorFromType ( ComponentModel model ) : void
model Castle.Core.ComponentModel
리턴 void

ValidateComponentActivator() 보호된 메소드

Validates that the provide type implements IComponentActivator
protected ValidateComponentActivator ( Type customComponentActivator ) : void
customComponentActivator System.Type The custom component activator.
리턴 void