C# 클래스 Castle.MicroKernel.ModelBuilder.DefaultComponentModelBuilder

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

공개 메소드들

메소드 설명
AddContributor ( IContributeComponentModelConstruction contributor ) : void

"To give or supply in common with others; give to a common fund or for a common purpose". The contributor should inspect the component, or even the configuration associated with the component, to add or change information in the model that can be used later.

BuildModel ( ComponentName name, Type services, Type classType, IDictionary extendedProperties ) : ComponentModel

Constructs a new ComponentModel by invoking the registered contributors.

BuildModel ( IComponentModelDescriptor customContributors ) : ComponentModel
DefaultComponentModelBuilder ( IKernel kernel ) : System

Initializes a new instance of the DefaultComponentModelBuilder class.

RemoveContributor ( IContributeComponentModelConstruction contributor ) : void

Removes the specified contributor

보호된 메소드들

메소드 설명
InitializeContributors ( ) : void

Initializes the default contributors.

메소드 상세

AddContributor() 공개 메소드

"To give or supply in common with others; give to a common fund or for a common purpose". The contributor should inspect the component, or even the configuration associated with the component, to add or change information in the model that can be used later.
public AddContributor ( IContributeComponentModelConstruction contributor ) : void
contributor IContributeComponentModelConstruction
리턴 void

BuildModel() 공개 메소드

Constructs a new ComponentModel by invoking the registered contributors.
public BuildModel ( ComponentName name, Type services, Type classType, IDictionary extendedProperties ) : ComponentModel
name Castle.Core.ComponentName
services System.Type
classType System.Type
extendedProperties IDictionary
리턴 Castle.Core.ComponentModel

BuildModel() 공개 메소드

public BuildModel ( IComponentModelDescriptor customContributors ) : ComponentModel
customContributors IComponentModelDescriptor
리턴 Castle.Core.ComponentModel

DefaultComponentModelBuilder() 공개 메소드

Initializes a new instance of the DefaultComponentModelBuilder class.
public DefaultComponentModelBuilder ( IKernel kernel ) : System
kernel IKernel The kernel.
리턴 System

InitializeContributors() 보호된 메소드

Initializes the default contributors.
protected InitializeContributors ( ) : void
리턴 void

RemoveContributor() 공개 메소드

Removes the specified contributor
public RemoveContributor ( IContributeComponentModelConstruction contributor ) : void
contributor IContributeComponentModelConstruction
리턴 void