C# Class Castle.MicroKernel.ModelBuilder.DefaultComponentModelBuilder

Inheritance: IComponentModelBuilder
Afficher le fichier Open project: castleproject/Windsor

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
InitializeContributors ( ) : void

Initializes the default contributors.

Method Details

AddContributor() public méthode

"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
Résultat void

BuildModel() public méthode

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
Résultat Castle.Core.ComponentModel

BuildModel() public méthode

public BuildModel ( IComponentModelDescriptor customContributors ) : ComponentModel
customContributors IComponentModelDescriptor
Résultat Castle.Core.ComponentModel

DefaultComponentModelBuilder() public méthode

Initializes a new instance of the DefaultComponentModelBuilder class.
public DefaultComponentModelBuilder ( IKernel kernel ) : System
kernel IKernel The kernel.
Résultat System

InitializeContributors() protected méthode

Initializes the default contributors.
protected InitializeContributors ( ) : void
Résultat void

RemoveContributor() public méthode

Removes the specified contributor
public RemoveContributor ( IContributeComponentModelConstruction contributor ) : void
contributor IContributeComponentModelConstruction
Résultat void