C# Class Castle.Facilities.TypedFactory.TypedFactoryComponentCollection

Represents a set of components to be resolved via Typed Factory. Uses IKernel.ResolveAll(System.Type,System.Collections.IDictionary) to resolve the components.
Inheritance: TypedFactoryComponent
Afficher le fichier Open project: 7digital/Castle.Windsor

Méthodes publiques

Méthode Description
Resolve ( IKernel kernel ) : object
TypedFactoryComponentCollection ( Type componentCollectionType, IDictionary additionalArguments ) : System

Creates new instance of TypedFactoryComponentCollection.

Method Details

Resolve() public méthode

public Resolve ( IKernel kernel ) : object
kernel IKernel
Résultat object

TypedFactoryComponentCollection() public méthode

Creates new instance of TypedFactoryComponentCollection.
public TypedFactoryComponentCollection ( Type componentCollectionType, IDictionary additionalArguments ) : System
componentCollectionType System.Type Collection type to resolve. Must be an array (SomeComponent[]) or IEnumerable{SomeComponent}. Type of the element of the collection will be used as first argument to
additionalArguments IDictionary Additional arguents that will be passed as second argument to
Résultat System