C# Класс 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.
Наследование: TypedFactoryComponent
Показать файл Открыть проект

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

Метод Описание
Resolve ( IKernel kernel ) : object
TypedFactoryComponentCollection ( Type componentCollectionType, IDictionary additionalArguments ) : System

Creates new instance of TypedFactoryComponentCollection.

Описание методов

Resolve() публичный Метод

public Resolve ( IKernel kernel ) : object
kernel IKernel
Результат object

TypedFactoryComponentCollection() публичный Метод

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
Результат System