C# Класс Castle.MicroKernel.ModelBuilder.DefaultComponentModelBuilder

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

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

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