C# 클래스 Castle.MicroKernel.ComponentActivator.DefaultComponentActivator

상속: AbstractComponentActivator
파일 보기 프로젝트 열기: castleproject/Windsor

공개 메소드들

메소드 설명
DefaultComponentActivator ( ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : System

Initializes a new instance of the DefaultComponentActivator class.

보호된 메소드들

메소드 설명
CanSatisfyDependency ( CreationContext context, DependencyModel dependency ) : bool
CreateConstructorArguments ( ConstructorCandidate constructor, CreationContext context ) : object[]
CreateInstance ( CreationContext context, ConstructorCandidate constructor, object arguments ) : object
CreateInstanceCore ( ConstructorCandidate constructor, object arguments, Type implType ) : object
Instantiate ( CreationContext context ) : object
InternalCreate ( CreationContext context ) : object
InternalDestroy ( object instance ) : void
SelectEligibleConstructor ( CreationContext context ) : ConstructorCandidate
SetUpProperties ( object instance, CreationContext context ) : void

비공개 메소드들

메소드 설명
BestPossibleScore ( ConstructorCandidate candidate, int candidatePoints ) : bool
BestScoreSoFar ( int candidatePoints, int winnerPoints, ConstructorCandidate winnerCandidate ) : bool
CheckCtorCandidate ( ConstructorCandidate candidate, CreationContext context, int &candidatePoints ) : bool
FastCreateInstance ( Type implType, object arguments, ConstructorCandidate constructor ) : object
ObtainPropertyValue ( CreationContext context, PropertySet property, IDependencyResolver resolver ) : object

메소드 상세

CanSatisfyDependency() 보호된 메소드

protected CanSatisfyDependency ( CreationContext context, DependencyModel dependency ) : bool
context Castle.MicroKernel.Context.CreationContext
dependency Castle.Core.DependencyModel
리턴 bool

CreateConstructorArguments() 보호된 메소드

protected CreateConstructorArguments ( ConstructorCandidate constructor, CreationContext context ) : object[]
constructor Castle.Core.ConstructorCandidate
context Castle.MicroKernel.Context.CreationContext
리턴 object[]

CreateInstance() 보호된 메소드

protected CreateInstance ( CreationContext context, ConstructorCandidate constructor, object arguments ) : object
context Castle.MicroKernel.Context.CreationContext
constructor Castle.Core.ConstructorCandidate
arguments object
리턴 object

CreateInstanceCore() 보호된 메소드

protected CreateInstanceCore ( ConstructorCandidate constructor, object arguments, Type implType ) : object
constructor Castle.Core.ConstructorCandidate
arguments object
implType System.Type
리턴 object

DefaultComponentActivator() 공개 메소드

Initializes a new instance of the DefaultComponentActivator class.
public DefaultComponentActivator ( ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : System
model Castle.Core.ComponentModel
kernel IKernelInternal
onCreation ComponentInstanceDelegate
onDestruction ComponentInstanceDelegate
리턴 System

Instantiate() 보호된 메소드

protected Instantiate ( CreationContext context ) : object
context Castle.MicroKernel.Context.CreationContext
리턴 object

InternalCreate() 보호된 메소드

protected InternalCreate ( CreationContext context ) : object
context Castle.MicroKernel.Context.CreationContext
리턴 object

InternalDestroy() 보호된 메소드

protected InternalDestroy ( object instance ) : void
instance object
리턴 void

SelectEligibleConstructor() 보호된 메소드

protected SelectEligibleConstructor ( CreationContext context ) : ConstructorCandidate
context Castle.MicroKernel.Context.CreationContext
리턴 Castle.Core.ConstructorCandidate

SetUpProperties() 보호된 메소드

protected SetUpProperties ( object instance, CreationContext context ) : void
instance object
context Castle.MicroKernel.Context.CreationContext
리턴 void