C# Class Castle.Facilities.TypedFactory.TypedFactoryComponentResolver

Represents a single component to be resolved via Typed Factory
Exibir arquivo Open project: castleproject/Windsor

Protected Properties

Property Type Description
additionalArguments IDictionary
componentName string
componentType System.Type
fallbackToResolveByTypeIfNameNotFound bool

Public Methods

Method Description
Resolve ( IKernelInternal kernel, IReleasePolicy scope ) : object

Resolves the component(s) from given kernel.

TypedFactoryComponentResolver ( string componentName, Type componentType, IDictionary additionalArguments, bool fallbackToResolveByTypeIfNameNotFound, Type actualSelectorType ) : System

Private Methods

Method Description
LoadByName ( IKernelInternal kernel ) : bool

Method Details

Resolve() public method

Resolves the component(s) from given kernel.
public Resolve ( IKernelInternal kernel, IReleasePolicy scope ) : object
kernel IKernelInternal
scope IReleasePolicy
return object

TypedFactoryComponentResolver() public method

public TypedFactoryComponentResolver ( string componentName, Type componentType, IDictionary additionalArguments, bool fallbackToResolveByTypeIfNameNotFound, Type actualSelectorType ) : System
componentName string
componentType System.Type
additionalArguments IDictionary
fallbackToResolveByTypeIfNameNotFound bool
actualSelectorType System.Type
return System

Property Details

additionalArguments protected_oe property

protected IDictionary additionalArguments
return IDictionary

componentName protected_oe property

protected string componentName
return string

componentType protected_oe property

protected Type,System componentType
return System.Type

fallbackToResolveByTypeIfNameNotFound protected_oe property

protected bool fallbackToResolveByTypeIfNameNotFound
return bool