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
Show file Open project: 7digital/Castle.Windsor

Public Methods

Method Description
Resolve ( IKernel kernel ) : object
TypedFactoryComponentCollection ( Type componentCollectionType, IDictionary additionalArguments ) : System

Creates new instance of TypedFactoryComponentCollection.

Method Details

Resolve() public method

public Resolve ( IKernel kernel ) : object
kernel IKernel
return object

TypedFactoryComponentCollection() public method

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
return System