Click or drag to resize

ReflectionActivator Class

Uses reflection to activate instances of a type.
Inheritance Hierarchy

Namespace:  Autofac.Core.Activators.Reflection
Assembly:  Autofac (in Autofac.dll) Version: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
Syntax
public class ReflectionActivator : InstanceActivator, 
	IInstanceActivator, IDisposable

The ReflectionActivator type exposes the following members.

Constructors
  NameDescription
Public methodReflectionActivator
Initializes a new instance of the ReflectionActivator class.
Top
Properties
  NameDescription
Public propertyConstructorFinder
Gets the constructor finder.
Public propertyConstructorSelector
Gets the constructor selector.
Protected propertyIsDisposed
Gets a value indicating whether the current instance has been disposed.
(Inherited from Disposable.)
Public propertyLimitType
Gets the most specific type that the component instances are known to be castable to.
(Inherited from InstanceActivator.)
Top
Methods
  NameDescription
Public methodActivateInstance
Activate an instance in the provided context.
Protected methodCheckNotDisposed (Inherited from InstanceActivator.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from Disposable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Gets a string representation of the activator.
(Inherited from InstanceActivator.)
Top
See Also