C# 클래스 Revenj.Extensibility.Autofac.Core.Activators.Reflection.ReflectionActivator

Uses reflection to activate instances of a type.
상속: InstanceActivator, IInstanceActivator
파일 보기 프로젝트 열기: ngs-doo/revenj

공개 메소드들

메소드 설명
GetFactory ( IComponentContext context, IEnumerable parameters ) : Func

Activate an instance in the provided context.

The context parameter here should probably be ILifetimeScope in order to reveal Disposer, but will wait until implementing a concrete use case to make the decision

ReflectionActivator ( Type implementationType, IConstructorFinder constructorFinder, IConstructorSelector constructorSelector, IEnumerable configuredParameters, IEnumerable configuredProperties ) : System

Create an activator for the provided type.

비공개 메소드들

메소드 설명
GetBindingFailureMessage ( IEnumerable constructorBindings ) : string
GetConstructorBindings ( IComponentContext context, IEnumerable parameters, IEnumerable _defaultParameters, ConstructorInfo constructorInfo ) : Revenj.Extensibility.Autofac.Core.Activators.Reflection.ConstructorParameterBinding[]
InjectProperties ( object instance, IComponentContext context ) : void

메소드 상세

GetFactory() 공개 메소드

Activate an instance in the provided context.
The context parameter here should probably be ILifetimeScope in order to reveal Disposer, but will wait until implementing a concrete use case to make the decision
public GetFactory ( IComponentContext context, IEnumerable parameters ) : Func
context IComponentContext Context in which to activate instances.
parameters IEnumerable Parameters to the instance.
리턴 Func

ReflectionActivator() 공개 메소드

Create an activator for the provided type.
public ReflectionActivator ( Type implementationType, IConstructorFinder constructorFinder, IConstructorSelector constructorSelector, IEnumerable configuredParameters, IEnumerable configuredProperties ) : System
implementationType System.Type Type to activate.
constructorFinder IConstructorFinder Constructor finder.
constructorSelector IConstructorSelector Constructor selector.
configuredParameters IEnumerable Parameters configured explicitly for this instance.
configuredProperties IEnumerable Properties configured explicitly for this instance.
리턴 System