Click or drag to resize

AttributedInjectionModule Class

Injects dependencies into request handlers and pages that have been decorated with the [InjectProperties] or [InjectUnsetProperties] attributes.
Inheritance Hierarchy

Namespace:  Autofac.Integration.Web.Forms
Assembly:  Autofac.Integration.Web (in Autofac.Integration.Web.dll) Version: 6.0.0+0b24e3a20aaeba340141e7205a9b7643b9d6cc54
Syntax
public class AttributedInjectionModule : DependencyInjectionModule

The AttributedInjectionModule type exposes the following members.

Constructors
  NameDescription
Public methodAttributedInjectionModule
Initializes a new instance of the AttributedInjectionModule class
Top
Properties
  NameDescription
Protected propertyNoInjection
Gets a behavior that does not inject dependencies.
(Inherited from DependencyInjectionModule.)
Protected propertyPropertyInjection
Gets a behavior that injects resolvable dependencies.
(Inherited from DependencyInjectionModule.)
Protected propertyUnsetPropertyInjection
Gets a behavior that injects unset, resolvable dependencies.
(Inherited from DependencyInjectionModule.)
Top
Methods
  NameDescription
Public methodDispose
Disposes of the resources (other than memory) used by the module that implements IHttpModule.
(Inherited from DependencyInjectionModule.)
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.)
Protected methodGetInjectionBehavior
Internal for testability outside of a web application.
(Inherited from DependencyInjectionModule.)
Protected methodGetInjectionBehaviorForHandlerType
Override to customise injection behavior based on HTTP Handler type.
(Overrides DependencyInjectionModuleGetInjectionBehaviorForHandlerType(Type).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit
Initializes a module and prepares it to handle requests.
(Inherited from DependencyInjectionModule.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also