Upgrading to Autofac 3.5.2

This commit is contained in:
Sebastien Ros 2014-08-13 15:42:17 -07:00
parent 5bebeb85f0
commit fe0c1a8a03
10 changed files with 425 additions and 552 deletions

View File

@ -4,6 +4,33 @@
<name>Autofac.Configuration</name>
</assembly>
<members>
<member name="T:Autofac.Configuration.AppSettingsModule">
<summary>
Configures properties on other modules using settings from the appSettings section of
the configuration file. These can then be provided to component constructors as parameters
during registrations within the module.
</summary>
<remarks>
The convention for the appSettings key is "Module.PropertyName" (e.g. Email.Pop3Host).
Modules should be named with a "Module" suffix (e.g. EmailModule).
</remarks>
</member>
<member name="M:Autofac.Configuration.AppSettingsModule.#ctor(System.Collections.Generic.IEnumerable{Autofac.Module})">
<summary>
Initializes a new instance of the <see cref="T:Autofac.Configuration.AppSettingsModule"/> class.
</summary>
<param name="modules">The modules whose properties should be configured
using settings from the appSettings section of the configuration file.</param>
</member>
<member name="M:Autofac.Configuration.AppSettingsModule.Load(Autofac.ContainerBuilder)">
<summary>
Override to add registrations to the container.
</summary>
<param name="builder">The builder through which components can be registered.</param>
<remarks>
Note that the ContainerBuilder parameter is unique to this module.
</remarks>
</member>
<member name="T:Autofac.Configuration.AssemblyNameConverter">
<summary>
Type converter used for converting assembly name strings to assembly and back.
@ -107,6 +134,12 @@
</summary>
<value>never (default,) all, unset.</value>
</member>
<member name="P:Autofac.Configuration.Elements.ComponentElement.AutoActivate">
<summary>
Sets up auto activation for the component instances.
</summary>
<value>no(default,) yes.</value>
</member>
<member name="P:Autofac.Configuration.Elements.ComponentElement.Services">
<summary>
Gets the services exposed by the component.
@ -429,6 +462,37 @@
recognized grammar.
</exception>
</member>
<member name="M:Autofac.Configuration.ConfigurationRegistrar.SetAutoActivate``2(Autofac.Builder.IRegistrationBuilder{System.Object,``0,``1},System.String)">
<summary>
Sets the auto activation mode for the component.
</summary>
<param name="registrar">
The component registration on which auto activation mode is being set.
</param>
<param name="autoActivate">
The <see cref="T:System.String"/> configuration value associated with auto
activate for this component registration.
</param>
<remarks>
<para>
By default, this implementation understands <see langword="null"/>, empty,
or <see langword="false"/> values (<c>false</c>, <c>0</c>, <c>no</c>)
to mean "no property injection should occur" and <see langword="true"/>
values (<c>true</c>, <c>1</c>, <c>yes</c>) to mean "auto activation
should occur."
</para>
<para>
You may override this method to extend the available grammar for auto activation settings.
</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="registrar"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.Configuration.ConfigurationErrorsException">
Thrown if the value for <paramref name="autoActivate"/> is not part of the
recognized grammar.
</exception>
</member>
<member name="M:Autofac.Configuration.ConfigurationRegistrar.SetComponentOwnership``2(Autofac.Builder.IRegistrationBuilder{System.Object,``0,``1},System.String)">
<summary>
Sets the ownership model for the component.
@ -616,11 +680,21 @@
Looks up a localized string similar to Unable to convert object of type &apos;{0}&apos; to type &apos;{1}&apos;..
</summary>
</member>
<member name="P:Autofac.Configuration.ConfigurationSettingsReaderResources.TypeConverterAttributeTypeNotConverter">
<summary>
Looks up a localized string similar to The type &apos;{0}&apos; specified in the TypeConverterAttribute is not a TypeConverter..
</summary>
</member>
<member name="P:Autofac.Configuration.ConfigurationSettingsReaderResources.TypeNotFound">
<summary>
Looks up a localized string similar to The type &apos;{0}&apos; could not be found. It may require assembly qualification, e.g. &quot;MyType, MyAssembly&quot;..
</summary>
</member>
<member name="P:Autofac.Configuration.ConfigurationSettingsReaderResources.UnrecognisedAutoActivate">
<summary>
Looks up a localized string similar to The value &apos;{0}&apos; is not valid for the auto-activate attribute. Valid values are &apos;yes&apos; and &apos;no&apos;..
</summary>
</member>
<member name="P:Autofac.Configuration.ConfigurationSettingsReaderResources.UnrecognisedInjectProperties">
<summary>
Looks up a localized string similar to The value &apos;{0}&apos; is not valid for the inject-properties attribute. Valid values are &apos;yes&apos; and &apos;no&apos;..
@ -663,7 +737,7 @@
</member>
<member name="T:Autofac.Configuration.Elements.ListElementCollection.ListElementTypeConverter">
<summary>
Helps convert the configuration element into an actuall generic list
Helps convert the configuration element into an actual generic list
</summary>
</member>
<member name="T:Autofac.Configuration.Util.Enforce">
@ -1114,7 +1188,7 @@
Some handy type conversion routines.
</summary>
</member>
<member name="M:Autofac.Configuration.Util.TypeManipulation.ChangeToCompatibleType(System.Object,System.Type)">
<member name="M:Autofac.Configuration.Util.TypeManipulation.ChangeToCompatibleType(System.Object,System.Type,System.Reflection.ICustomAttributeProvider)">
<summary>
Does its best to convert whatever the value is into the destination
type. Null in yields null out for value types and the default(T)
@ -1122,6 +1196,7 @@
</summary>
<param name="value">The value.</param>
<param name="destinationType">Type of the destination.</param>
<param name="memberInfo">Reflected property or member info for the destination, if available, for retrieving custom type converter information.</param>
<returns>An object of the destination type.</returns>
</member>
<member name="T:Autofac.Configuration.Elements.ListItemElement">

View File

@ -1,512 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>Autofac.Integration.Web</name>
</assembly>
<members>
<member name="T:Autofac.Integration.Web.Forms.AttributedInjection">
<summary>
Injects dependencies into request handlers and pages that have been
decorated with the [InjectProperties] or [InjectUnsetProperties]
attributes.
</summary>
</member>
<member name="T:Autofac.Integration.Web.Forms.PageInjectionBehavior">
<summary>
Assists with the construction of page injectors.
</summary>
</member>
<member name="T:Autofac.Integration.Web.Forms.IInjectionBehavior">
<summary>
Provides dependency injection for a request handler.
</summary>
</member>
<member name="M:Autofac.Integration.Web.Forms.IInjectionBehavior.InjectDependencies(Autofac.IComponentContext,System.Object)">
<summary>
Inject dependencies in the required fashion.
</summary>
<param name="context">The context.</param>
<param name="target">The target.</param>
</member>
<member name="M:Autofac.Integration.Web.Forms.PageInjectionBehavior.InjectDependencies(Autofac.IComponentContext,System.Object)">
<summary>
Inject dependencies in the required fashion.
</summary>
<param name="context">The context.</param>
<param name="target">The target.</param>
</member>
<member name="M:Autofac.Integration.Web.Forms.PageInjectionBehavior.GetInjector(Autofac.IComponentContext)">
<summary>
Override to return a closure that injects properties into a target.
</summary>
<param name="context">The context.</param>
<returns>The injector.</returns>
</member>
<member name="M:Autofac.Integration.Web.Forms.PageInjectionBehavior.DoInjection(System.Func{System.Object,System.Object},System.Object)">
<summary>
Does the injection using a supplied injection function.
</summary>
<param name="injector">The injector.</param>
<param name="target">The target.</param>
</member>
<member name="M:Autofac.Integration.Web.Forms.AttributedInjection.GetInjector(Autofac.IComponentContext)">
<summary>
Override to return a closure that injects properties into a target.
</summary>
<param name="context">The context.</param>
<returns>The injector.</returns>
</member>
<member name="T:Autofac.Integration.Web.Forms.AttributedInjectionModule">
<summary>
Injects dependencies into request handlers and pages that have been
decorated with the [InjectProperties] or [InjectUnsetProperties]
attributes.
</summary>
</member>
<member name="T:Autofac.Integration.Web.Forms.DependencyInjectionModule">
<summary>
Base for classes that inject dependencies into HTTP Handlers.
</summary>
</member>
<member name="M:Autofac.Integration.Web.Forms.DependencyInjectionModule.Dispose">
<summary>
Disposes of the resources (other than memory) used by the module that implements <see cref="T:System.Web.IHttpModule"/>.
</summary>
</member>
<member name="M:Autofac.Integration.Web.Forms.DependencyInjectionModule.Init(System.Web.HttpApplication)">
<summary>
Initializes a module and prepares it to handle requests.
</summary>
<param name="context">An <see cref="T:System.Web.HttpApplication"/> that provides access to the methods, properties, and events common to all application objects within an ASP.NET application</param>
</member>
<member name="M:Autofac.Integration.Web.Forms.DependencyInjectionModule.OnPreRequestHandlerExecute(System.Object,System.EventArgs)">
<summary>
Called before the request handler is executed so that dependencies
can be injected.
</summary>
<param name="sender">The sender.</param>
<param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
</member>
<member name="M:Autofac.Integration.Web.Forms.DependencyInjectionModule.GetInjectionBehavior(System.Web.IHttpHandler)">
<summary>
Internal for testability outside of a web application.
</summary>
<param name="handler"></param>
<returns>The injection behavior.</returns>
</member>
<member name="M:Autofac.Integration.Web.Forms.DependencyInjectionModule.GetInjectionBehaviorForHandlerType(System.Type)">
<summary>
Override to customize injection behavior based on HTTP Handler type.
</summary>
<param name="handlerType">Type of the handler.</param>
<returns>The injection behavior.</returns>
</member>
<member name="P:Autofac.Integration.Web.Forms.DependencyInjectionModule.NoInjection">
<summary>
A behavior that does not inject dependencies.
</summary>
</member>
<member name="P:Autofac.Integration.Web.Forms.DependencyInjectionModule.PropertyInjection">
<summary>
A behavior that injects resolvable dependencies.
</summary>
</member>
<member name="P:Autofac.Integration.Web.Forms.DependencyInjectionModule.UnsetPropertyInjection">
<summary>
A behavior that injects unset, resolvable dependencies.
</summary>
</member>
<member name="M:Autofac.Integration.Web.Forms.AttributedInjectionModule.GetInjectionBehaviorForHandlerType(System.Type)">
<summary>
Override to customise injection behavior based on HTTP Handler type.
</summary>
<param name="handlerType">Type of the handler.</param>
<returns>The injection behavior.</returns>
</member>
<member name="T:Autofac.Integration.Web.ContainerDisposalModule">
<summary>
HTTP Module that disposes of Autofac-created components when processing for
a request completes.
</summary>
</member>
<member name="M:Autofac.Integration.Web.ContainerDisposalModule.Dispose">
<summary>
Disposes of the resources (other than memory) used by the module that implements <see cref="T:System.Web.IHttpModule"/>.
</summary>
</member>
<member name="M:Autofac.Integration.Web.ContainerDisposalModule.Init(System.Web.HttpApplication)">
<summary>
Initializes a module and prepares it to handle requests.
</summary>
<param name="context">An <see cref="T:System.Web.HttpApplication"/> that provides access to the methods, properties, and events common to all application objects within an ASP.NET application</param>
</member>
<member name="M:Autofac.Integration.Web.ContainerDisposalModule.OnEndRequest(System.Object,System.EventArgs)">
<summary>
Dispose of the per-request container.
</summary>
<param name="sender"></param>
<param name="e"></param>
</member>
<member name="T:Autofac.Integration.Web.ContainerDisposalModuleResources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:Autofac.Integration.Web.ContainerDisposalModuleResources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:Autofac.Integration.Web.ContainerDisposalModuleResources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="P:Autofac.Integration.Web.ContainerDisposalModuleResources.ApplicationMustImplementAccessor">
<summary>
Looks up a localized string similar to This module requires that the HttpApplication (Global Application Class) implements IContainerProviderAccessor..
</summary>
</member>
<member name="P:Autofac.Integration.Web.ContainerDisposalModuleResources.ContainerProviderNull">
<summary>
Looks up a localized string similar to IContainerProviderAccessor.ContainerProvider returned null, which is invalid. If the container provider belongs to the HttpApplication subclass, ensure that it is a static variable..
</summary>
</member>
<member name="T:Autofac.Integration.Web.ContainerProvider">
<summary>
Provides application-wide and per-request containers.
</summary>
</member>
<member name="T:Autofac.Integration.Web.IContainerProvider">
<summary>
Provides global and per-request Autofac containers in an
ASP.NET application.
</summary>
</member>
<member name="M:Autofac.Integration.Web.IContainerProvider.EndRequestLifetime">
<summary>
Dispose of the current request's container, if it has been
instantiated.
</summary>
</member>
<member name="P:Autofac.Integration.Web.IContainerProvider.ApplicationContainer">
<summary>
The global, application-wide container.
</summary>
</member>
<member name="P:Autofac.Integration.Web.IContainerProvider.RequestLifetime">
<summary>
The lifetime used to manage components for processing the
current request.
</summary>
</member>
<member name="M:Autofac.Integration.Web.ContainerProvider.#ctor(Autofac.IContainer)">
<summary>
Initializes a new instance of the <see cref="T:Autofac.Integration.Web.ContainerProvider"/> class.
</summary>
<param name="applicationContainer">The application container.</param>
</member>
<member name="M:Autofac.Integration.Web.ContainerProvider.#ctor(Autofac.IContainer,System.Action{Autofac.ContainerBuilder})">
<summary>
Initializes a new instance of the <see cref="T:Autofac.Integration.Web.ContainerProvider"/> class.
</summary>
<param name="applicationContainer">The application container.</param>
<param name="requestLifetimeConfiguration">An action that will be executed when building
the per-request lifetime. The components visible within the request can be
customised here.</param>
</member>
<member name="M:Autofac.Integration.Web.ContainerProvider.EndRequestLifetime">
<summary>
Dispose of the current request's container, if it has been
instantiated.
</summary>
</member>
<member name="P:Autofac.Integration.Web.ContainerProvider.ApplicationContainer">
<summary>
The global, application-wide container.
</summary>
<value></value>
</member>
<member name="P:Autofac.Integration.Web.ContainerProvider.RequestLifetime">
<summary>
The container used to manage components for processing the
current request.
</summary>
<value></value>
</member>
<member name="T:Autofac.Integration.Web.ContainerProviderContainer">
<summary>
Provides an implementation of <see cref="T:Autofac.IContainer"/> which uses the configured
<see cref="T:Autofac.Integration.Web.IContainerProvider"/> to route calls to the current request container.
</summary>
</member>
<member name="M:Autofac.Integration.Web.ContainerProviderContainer.#ctor(Autofac.Integration.Web.IContainerProvider)">
<summary>
Initializes a new instance of <see cref="T:Autofac.Integration.Web.ContainerProviderContainer"/>.
</summary>
<param name="containerProvider">The <see cref="T:Autofac.Integration.Web.IContainerProvider"/> to use to retrieve the current request container.</param>
</member>
<member name="M:Autofac.Integration.Web.ContainerProviderContainer.BeginLifetimeScope">
<summary>
Begin a new nested scope. Component instances created via the new scope
will be disposed along with it.
</summary>
<returns>A new lifetime scope.</returns>
</member>
<member name="M:Autofac.Integration.Web.ContainerProviderContainer.BeginLifetimeScope(System.Object)">
<summary>
Begin a new nested scope. Component instances created via the new scope
will be disposed along with it.
</summary>
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
<returns>A new lifetime scope.</returns>
</member>
<member name="M:Autofac.Integration.Web.ContainerProviderContainer.BeginLifetimeScope(System.Action{Autofac.ContainerBuilder})">
<summary>
Begin a new nested scope, with additional components available to it.
Component instances created via the new scope
will be disposed along with it.
</summary>
<remarks>
The components registered in the sub-scope will be treated as though they were
registered in the root scope, i.e., SingleInstance() components will live as long
as the root scope.
</remarks>
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
that adds component registations visible only in the new scope.</param>
<returns>A new lifetime scope.</returns>
</member>
<member name="M:Autofac.Integration.Web.ContainerProviderContainer.BeginLifetimeScope(System.Object,System.Action{Autofac.ContainerBuilder})">
<summary>
Begin a new nested scope, with additional components available to it.
Component instances created via the new scope
will be disposed along with it.
</summary>
<remarks>
The components registered in the sub-scope will be treated as though they were
registered in the root scope, i.e., SingleInstance() components will live as long
as the root scope.
</remarks>
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
that adds component registations visible only in the new scope.</param>
<returns>A new lifetime scope.</returns>
</member>
<member name="M:Autofac.Integration.Web.ContainerProviderContainer.ResolveComponent(Autofac.Core.IComponentRegistration,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
<summary>
Resolve an instance of the provided registration within the context.
</summary>
<param name="registration">The registration.</param>
<param name="parameters">Parameters for the instance.</param>
<returns>
The component instance.
</returns>
<exception cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/>
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
</member>
<member name="M:Autofac.Integration.Web.ContainerProviderContainer.Dispose">
<summary>
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
</summary>
</member>
<member name="P:Autofac.Integration.Web.ContainerProviderContainer.ComponentRegistry">
<summary>
Associates services with the components that provide them.
</summary>
</member>
<member name="P:Autofac.Integration.Web.ContainerProviderContainer.Disposer">
<summary>
The disposer associated with this <see cref="T:Autofac.ILifetimeScope"/>.
Component instances can be associated with it manually if required.
</summary>
<remarks>Typical usage does not require interaction with this member- it
is used when extending the container.</remarks>
</member>
<member name="P:Autofac.Integration.Web.ContainerProviderContainer.Tag">
<summary>
The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.
</summary>
<remarks>Tags allow a level in the lifetime hierarchy to be identified.
In most applications, tags are not necessary.</remarks>
<seealso cref="M:Autofac.Builder.IRegistrationBuilder`3.InstancePerMatchingLifetimeScope(System.Object[])"/>
</member>
<member name="E:Autofac.Integration.Web.ContainerProviderContainer.ChildLifetimeScopeBeginning">
<summary>
Fired when a new scope based on the current scope is beginning.
</summary>
</member>
<member name="E:Autofac.Integration.Web.ContainerProviderContainer.CurrentScopeEnding">
<summary>
Fired when this scope is ending.
</summary>
</member>
<member name="E:Autofac.Integration.Web.ContainerProviderContainer.ResolveOperationBeginning">
<summary>
Fired when a resolve operation is beginning in this scope.
</summary>
</member>
<member name="T:Autofac.Integration.Web.Forms.DependencyInjectionAttribute">
<summary>
Base class for dependency injection attributes.
</summary>
</member>
<member name="T:Autofac.Integration.Web.Forms.DependencyInjectionModuleResources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
<member name="P:Autofac.Integration.Web.Forms.DependencyInjectionModuleResources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member>
<member name="P:Autofac.Integration.Web.Forms.DependencyInjectionModuleResources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="P:Autofac.Integration.Web.Forms.DependencyInjectionModuleResources.ApplicationMustImplementAccessor">
<summary>
Looks up a localized string similar to This module requires that the HttpApplication (Global Application Class) implements IContainerProviderAccessor..
</summary>
</member>
<member name="P:Autofac.Integration.Web.Forms.DependencyInjectionModuleResources.ContainerProviderNull">
<summary>
Looks up a localized string similar to IContainerProviderAccessor.ContainerProvider returned null, which is invalid. If the container provider belongs to the HttpApplication subclass, ensure that it is a static variable..
</summary>
</member>
<member name="T:Autofac.Integration.Web.IContainerProviderAccessor">
<summary>
Implemented on a type (i.e. HttpApplication) that maintains a container provider
for injecting dependencies into web requests.
</summary>
</member>
<member name="P:Autofac.Integration.Web.IContainerProviderAccessor.ContainerProvider">
<summary>
Gets the container provider.
</summary>
<value>The container provider.</value>
</member>
<member name="T:Autofac.Integration.Web.Forms.InjectPropertiesAttribute">
<summary>
Indicates that property injection should be performed on the instance when it is instantiated.
</summary>
</member>
<member name="T:Autofac.Integration.Web.Forms.InjectUnsetPropertiesAttribute">
<summary>
Indicates that property injection should be performed for null-valued
properties on the instance when it is instantiated.
</summary>
</member>
<member name="T:Autofac.Integration.Web.Forms.NoInjection">
<summary>
Does not inject properties.
</summary>
</member>
<member name="M:Autofac.Integration.Web.Forms.NoInjection.InjectDependencies(Autofac.IComponentContext,System.Object)">
<summary>
Inject dependencies in the required fashion.
</summary>
<param name="context">The context.</param>
<param name="target">The target.</param>
</member>
<member name="T:Autofac.Integration.Web.Forms.PropertyInjection">
<summary>
Injects any resolvable properties.
</summary>
</member>
<member name="M:Autofac.Integration.Web.Forms.PropertyInjection.GetInjector(Autofac.IComponentContext)">
<summary>
Override to return a closure that injects properties into a target.
</summary>
<param name="context">The context.</param>
<returns>The injector.</returns>
</member>
<member name="T:Autofac.Integration.Web.Forms.PropertyInjectionModule">
<summary>
Dependency injection module that will always inject any resolvable
properties.
</summary>
</member>
<member name="M:Autofac.Integration.Web.Forms.PropertyInjectionModule.GetInjectionBehaviorForHandlerType(System.Type)">
<summary>
Override to customise injection behavior based on HTTP Handler type.
</summary>
<param name="handlerType">Type of the handler.</param>
<returns>The injection behavior.</returns>
</member>
<member name="T:Autofac.Integration.Web.RegistrationExtensions">
<summary>
Extends registration syntax for common web scenarios.
</summary>
</member>
<member name="M:Autofac.Integration.Web.RegistrationExtensions.InstancePerHttpRequest``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
<summary>
Share one instance of the component within the context of a single
HTTP request.
</summary>
<typeparam name="TLimit">Registration limit type.</typeparam>
<typeparam name="TStyle">Registration style.</typeparam>
<typeparam name="TActivatorData">Activator data type.</typeparam>
<param name="registration">The registration to configure.</param>
<returns>A registration builder allowing further configuration of the component.</returns>
</member>
<member name="M:Autofac.Integration.Web.RegistrationExtensions.CacheInSession``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
<summary>
Cache instances in the web session. This implies external ownership (disposal is not
available.) All dependencies must also have external ownership.
</summary>
<remarks>
It is strongly recommended that components cached per-session do not take dependencies on
other services.
</remarks>
<typeparam name="TLimit">Registration limit type.</typeparam>
<typeparam name="TSingleRegistrationStyle">Registration style.</typeparam>
<typeparam name="TActivatorData">Activator data type.</typeparam>
<param name="registration">The registration to configure.</param>
<returns>A registration builder allowing further configuration of the component.</returns>
</member>
<member name="T:Autofac.Integration.Web.Forms.UnsetPropertyInjection">
<summary>
Injects resolvable properties that do not already have a value.
</summary>
</member>
<member name="M:Autofac.Integration.Web.Forms.UnsetPropertyInjection.GetInjector(Autofac.IComponentContext)">
<summary>
Override to return a closure that injects properties into a target.
</summary>
<param name="context">The context.</param>
<returns>The injector.</returns>
</member>
<member name="T:Autofac.Integration.Web.Forms.UnsetPropertyInjectionModule">
<summary>
Dependency injection module that will always inject any resolvable
properties.
</summary>
</member>
<member name="M:Autofac.Integration.Web.Forms.UnsetPropertyInjectionModule.GetInjectionBehaviorForHandlerType(System.Type)">
<summary>
Override to customise injection behavior based on HTTP Handler type.
</summary>
<param name="handlerType">Type of the handler.</param>
<returns>The injection behavior.</returns>
</member>
<member name="T:Autofac.Integration.Web.WebLifetime">
<summary>
Constants used to tag liftime scopes within standard Autofac web applications.
</summary>
</member>
<member name="F:Autofac.Integration.Web.WebLifetime.Application">
<summary>
Application lifetime
</summary>
</member>
<member name="F:Autofac.Integration.Web.WebLifetime.Request">
<summary>
HTTP Request lifetime
</summary>
</member>
</members>
</doc>

View File

@ -158,6 +158,68 @@
Looks up a localized string similar to {0} ---&gt; {1} (See inner exception for details.).
</summary>
</member>
<member name="T:Autofac.Core.Lifetime.MatchingScopeLifetimeTags">
<summary>
Well-known tags used in setting up matching lifetime scopes.
</summary>
</member>
<member name="F:Autofac.Core.Lifetime.MatchingScopeLifetimeTags.RequestLifetimeScopeTag">
<summary>
Tag used in setting up per-request lifetime scope registrations
(e.g., per-HTTP-request or per-API-request).
</summary>
</member>
<member name="T:Autofac.Core.Registration.IModuleRegistrar">
<summary>
Interface providing fluent syntax for chaining module registrations.
</summary>
</member>
<member name="M:Autofac.Core.Registration.IModuleRegistrar.RegisterModule(Autofac.Core.IModule)">
<summary>
Add a module to the container.
</summary>
<param name="module">The module to add.</param>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="T:Autofac.Core.Registration.ModuleRegistrar">
<summary>
Basic implementation of the <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/>
interface allowing registration of modules into a <see cref="T:Autofac.ContainerBuilder"/>
in a fluent format.
</summary>
</member>
<member name="F:Autofac.Core.Registration.ModuleRegistrar._builder">
<summary>
The <see cref="T:Autofac.ContainerBuilder"/> into which registrations will be made.
</summary>
</member>
<member name="M:Autofac.Core.Registration.ModuleRegistrar.#ctor(Autofac.ContainerBuilder)">
<summary>
Initializes a new instance of the <see cref="T:Autofac.Core.Registration.ModuleRegistrar"/> class.
</summary>
<param name="builder">
The <see cref="T:Autofac.ContainerBuilder"/> into which registrations will be made.
</param>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="builder"/> is <see langword="null"/>.
</exception>
</member>
<member name="M:Autofac.Core.Registration.ModuleRegistrar.RegisterModule(Autofac.Core.IModule)">
<summary>
Add a module to the container.
</summary>
<param name="module">The module to add.</param>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="module"/> is <see langword="null"/>.
</exception>
</member>
<member name="T:Autofac.Features.LazyDependencies.LazyWithMetadataRegistrationSource">
<summary>
Support the <c>System.Lazy&lt;T, TMetadata&gt;</c>
@ -311,6 +373,156 @@
<param name="targetType">Type to search for constructors.</param>
<returns>Suitable constructors.</returns>
</member>
<member name="T:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSourceExtensions">
<summary>
Extension methods for configuring the <see cref="T:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource"/>.
</summary>
</member>
<member name="M:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSourceExtensions.WithRegistrationsAs(Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource,System.Action{Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.ConcreteReflectionActivatorData,Autofac.Builder.SingleRegistrationStyle}})">
<summary>
Fluent method for setting the registration configuration on <see cref="T:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource"/>.
</summary>
<param name="source">The registration source to configure.</param>
<param name="configurationAction">A configuration action that will run on any registration provided by the source.</param>
<returns>
The <paramref name="source"/> with the registration configuration set.
</returns>
</member>
<member name="T:Autofac.ModuleRegistrationExtensions">
<summary>
Extension methods for registering <see cref="T:Autofac.Core.IModule"/> instances with a container.
</summary>
</member>
<member name="M:Autofac.ModuleRegistrationExtensions.RegisterAssemblyModules(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
<summary>
Registers modules found in an assembly.
</summary>
<param name="builder">The builder to register the modules with.</param>
<param name="assemblies">The assemblies from which to register modules.</param>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="builder"/> is <see langword="null"/>.
</exception>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="M:Autofac.ModuleRegistrationExtensions.RegisterAssemblyModules(Autofac.Core.Registration.IModuleRegistrar,System.Reflection.Assembly[])">
<summary>
Registers modules found in an assembly.
</summary>
<param name="registrar">The module registrar that will make the registrations into the container.</param>
<param name="assemblies">The assemblies from which to register modules.</param>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="registrar"/> is <see langword="null"/>.
</exception>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="M:Autofac.ModuleRegistrationExtensions.RegisterAssemblyModules``1(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
<summary>
Registers modules found in an assembly.
</summary>
<param name="builder">The builder to register the modules with.</param>
<param name="assemblies">The assemblies from which to register modules.</param>
<typeparam name="TModule">The type of the module to add.</typeparam>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="builder"/> is <see langword="null"/>.
</exception>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="M:Autofac.ModuleRegistrationExtensions.RegisterAssemblyModules``1(Autofac.Core.Registration.IModuleRegistrar,System.Reflection.Assembly[])">
<summary>
Registers modules found in an assembly.
</summary>
<param name="registrar">The module registrar that will make the registrations into the container.</param>
<param name="assemblies">The assemblies from which to register modules.</param>
<typeparam name="TModule">The type of the module to add.</typeparam>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="registrar"/> is <see langword="null"/>.
</exception>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="M:Autofac.ModuleRegistrationExtensions.RegisterAssemblyModules(Autofac.ContainerBuilder,System.Type,System.Reflection.Assembly[])">
<summary>
Registers modules found in an assembly.
</summary>
<param name="builder">The builder to register the modules with.</param>
<param name="moduleType">The <see cref="T:System.Type"/> of the module to add.</param>
<param name="assemblies">The assemblies from which to register modules.</param>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="builder"/> or <paramref name="moduleType"/> is <see langword="null"/>.
</exception>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="M:Autofac.ModuleRegistrationExtensions.RegisterAssemblyModules(Autofac.Core.Registration.IModuleRegistrar,System.Type,System.Reflection.Assembly[])">
<summary>
Registers modules found in an assembly.
</summary>
<param name="registrar">The module registrar that will make the registrations into the container.</param>
<param name="moduleType">The <see cref="T:System.Type"/> of the module to add.</param>
<param name="assemblies">The assemblies from which to register modules.</param>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="registrar"/> or <paramref name="moduleType"/> is <see langword="null"/>.
</exception>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="M:Autofac.ModuleRegistrationExtensions.RegisterModule``1(Autofac.ContainerBuilder)">
<summary>
Add a module to the container.
</summary>
<param name="builder">The builder to register the module with.</param>
<typeparam name="TModule">The module to add.</typeparam>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="builder"/> is <see langword="null"/>.
</exception>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="M:Autofac.ModuleRegistrationExtensions.RegisterModule``1(Autofac.Core.Registration.IModuleRegistrar)">
<summary>
Add a module to the container.
</summary>
<param name="registrar">The module registrar that will make the registration into the container.</param>
<typeparam name="TModule">The module to add.</typeparam>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="registrar"/> is <see langword="null"/>.
</exception>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="M:Autofac.ModuleRegistrationExtensions.RegisterModule(Autofac.ContainerBuilder,Autofac.Core.IModule)">
<summary>
Add a module to the container.
</summary>
<param name="builder">The builder to register the module with.</param>
<param name="module">The module to add.</param>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="builder"/> or <paramref name="module"/> is <see langword="null"/>.
</exception>
<returns>
The <see cref="T:Autofac.Core.Registration.IModuleRegistrar"/> to allow
additional chained module registrations.
</returns>
</member>
<member name="T:Autofac.ModuleResources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
@ -1364,6 +1576,15 @@
<param name="serviceKey">Key of the service.</param>
<param name="serviceType">Type of the service.</param>
</member>
<member name="M:Autofac.Core.KeyedService.Equals(Autofac.Core.KeyedService)">
<summary>
Indicates whether the current object is equal to another object of the same type.
</summary>
<param name="other">An object to compare with this object.</param>
<returns>
true if the current object is equal to the <paramref name="other" /> parameter; otherwise, false.
</returns>
</member>
<member name="M:Autofac.Core.KeyedService.Equals(System.Object)">
<summary>
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>.
@ -2420,6 +2641,11 @@
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="P:Autofac.Features.OpenGenerics.OpenGenericServiceBinderResources.ImplementorDoesntImplementService">
<summary>
Looks up a localized string similar to The type &apos;{0}&apos; does not implement the interface &apos;{1}&apos;..
</summary>
</member>
<member name="P:Autofac.Features.OpenGenerics.OpenGenericServiceBinderResources.ImplementorMustBeOpenGenericTypeDefinition">
<summary>
Looks up a localized string similar to The implementation type &apos;{0}&apos; is not an open generic type definition..
@ -2502,6 +2728,15 @@
of other components (I.e. like Meta, Func or Owned.)
</summary>
</member>
<member name="P:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource.RegistrationConfiguration">
<summary>
Gets or sets an expression used to configure generated registrations.
</summary>
<value>
A <see cref="T:System.Action`1"/> that can be used to modify the behavior
of registrations that are generated by this source.
</value>
</member>
<member name="T:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSourceResources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
@ -4016,6 +4251,15 @@
</summary>
<param name="serviceType">Type of the service.</param>
</member>
<member name="M:Autofac.Core.TypedService.Equals(Autofac.Core.TypedService)">
<summary>
Indicates whether the current object is equal to another object of the same type.
</summary>
<param name="other">An object to compare with this object.</param>
<returns>
true if the current object is equal to the <paramref name="other" /> parameter; otherwise, false.
</returns>
</member>
<member name="M:Autofac.Core.TypedService.Equals(System.Object)">
<summary>
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>.
@ -4094,6 +4338,35 @@
</summary>
<value></value>
</member>
<member name="T:Autofac.Features.Collections.CollectionRegistrationSource">
<summary>
Registration source providing implicit collection/list/enumerable support.
</summary>
<remarks>
<para>
This registration source provides enumerable support to allow resolving
the set of all registered services of a given type.
</para>
<para>
What may not be immediately apparent is that it also means any time there
are no items of a particular type registered, it will always return an
empty set rather than <see langword="null" /> or throwing an exception.
This is by design.
</para>
<para>
Consider the [possibly majority] use case where you're resolving a set
of message handlers or event handlers from the container. If there aren't
any handlers, you want an empty set - not <see langword="null" /> or
an exception. It's valid to have no handlers registered.
</para>
<para>
This implicit support means other areas (like MVC support or manual
property injection) must take care to only request enumerable values they
expect to get something back for. In other words, "Don't ask the container
for something you don't expect to resolve."
</para>
</remarks>
</member>
<member name="M:Autofac.Features.Collections.CollectionRegistrationSource.RegistrationsFor(Autofac.Core.Service,System.Func{Autofac.Core.Service,System.Collections.Generic.IEnumerable{Autofac.Core.IComponentRegistration}})">
<summary>
Retrieve registrations for an unregistered service, to be used
@ -4618,43 +4891,6 @@
Adds registration syntax to the <see cref="T:Autofac.ContainerBuilder"/> type.
</summary>
</member>
<member name="M:Autofac.RegistrationExtensions.RegisterModule(Autofac.ContainerBuilder,Autofac.Core.IModule)">
<summary>
Add a module to the container.
</summary>
<param name="builder">The builder to register the module with.</param>
<param name="module">The module to add.</param>
</member>
<member name="M:Autofac.RegistrationExtensions.RegisterModule``1(Autofac.ContainerBuilder)">
<summary>
Add a module to the container.
</summary>
<param name="builder">The builder to register the module with.</param>
<typeparam name="TModule">The module to add.</typeparam>
</member>
<member name="M:Autofac.RegistrationExtensions.RegisterAssemblyModules(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
<summary>
Registers modules found in an assembly.
</summary>
<param name="builder">Container builder.</param>
<param name="assemblies">The assemblies from which to register modules.</param>
</member>
<member name="M:Autofac.RegistrationExtensions.RegisterAssemblyModules``1(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
<summary>
Registers modules found in an assembly.
</summary>
<param name="builder">Container builder.</param>
<param name="assemblies">The assemblies from which to register modules.</param>
<typeparam name="TModule">The type of the module to add.</typeparam>
</member>
<member name="M:Autofac.RegistrationExtensions.RegisterAssemblyModules(Autofac.ContainerBuilder,System.Type,System.Reflection.Assembly[])">
<summary>
Registers modules found in an assembly.
</summary>
<param name="builder">Container builder.</param>
<param name="moduleType">The <see cref="T:System.Type"/> of the module to add.</param>
<param name="assemblies">The assemblies from which to register modules.</param>
</member>
<member name="M:Autofac.RegistrationExtensions.RegisterComponent(Autofac.ContainerBuilder,Autofac.Core.IComponentRegistration)">
<summary>
Add a component to the container.
@ -5315,6 +5551,22 @@
</para>
</remarks>
</member>
<member name="M:Autofac.RegistrationExtensions.InstancePerRequest``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Object[])">
<summary>
Share one instance of the component within the context of a single
web/HTTP/API request. Only available for integration that supports
per-request dependencies (e.g., MVC, Web API, web forms, etc.).
</summary>
<typeparam name="TLimit">Registration limit type.</typeparam>
<typeparam name="TStyle">Registration style.</typeparam>
<typeparam name="TActivatorData">Activator data type.</typeparam>
<param name="registration">The registration to configure.</param>
<param name="lifetimeScopeTags">Additional tags applied for matching lifetime scopes.</param>
<returns>A registration builder allowing further configuration of the component.</returns>
<exception cref="T:System.ArgumentNullException">
Thrown if <paramref name="registration"/> is <see langword="null"/>.
</exception>
</member>
<member name="T:Autofac.RegistrationExtensionsResources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
@ -5448,6 +5700,18 @@
</remarks>
<param name="container">An existing container to make the registrations in.</param>
</member>
<member name="M:Autofac.ContainerBuilder.Update(Autofac.IContainer,Autofac.Builder.ContainerBuildOptions)">
<summary>
Configure an existing container with the component registrations
that have been made and allows additional build options to be specified.
</summary>
<remarks>
Update can only be called once per <see cref="T:Autofac.ContainerBuilder"/>
- this prevents ownership issues for provided instances.
</remarks>
<param name="container">An existing container to make the registrations in.</param>
<param name="options">Options that influence the way the container is updated.</param>
</member>
<member name="M:Autofac.ContainerBuilder.Update(Autofac.Core.IComponentRegistry)">
<summary>
Configure an existing registry with the component registrations
@ -5808,6 +6072,47 @@
<exception cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/>
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
</member>
<member name="M:Autofac.ResolutionExtensions.ResolveKeyed(Autofac.IComponentContext,System.Object,System.Type)">
<summary>
Retrieve a service from the context.
</summary>
<param name="context">The context from which to resolve the service.</param>
<param name="serviceKey">Key of the service.</param>
<param name="serviceType">Type of the service.</param>
<returns>
The component instance that provides the service.
</returns>
<exception cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/>
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
</member>
<member name="M:Autofac.ResolutionExtensions.ResolveKeyed(Autofac.IComponentContext,System.Object,System.Type,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
<summary>
Retrieve a service from the context.
</summary>
<param name="context">The context from which to resolve the service.</param>
<param name="serviceKey">Key of the service.</param>
<param name="serviceType">Type of the service.</param>
<param name="parameters">The parameters.</param>
<returns>
The component instance that provides the service.
</returns>
<exception cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/>
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
</member>
<member name="M:Autofac.ResolutionExtensions.ResolveKeyed(Autofac.IComponentContext,System.Object,System.Type,Autofac.Core.Parameter[])">
<summary>
Retrieve a service from the context.
</summary>
<param name="context">The context from which to resolve the service.</param>
<param name="serviceKey">Key of the service.</param>
<param name="serviceType">Type of the service.</param>
<param name="parameters">The parameters.</param>
<returns>
The component instance that provides the service.
</returns>
<exception cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/>
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
</member>
<member name="M:Autofac.ResolutionExtensions.ResolveService(Autofac.IComponentContext,Autofac.Core.Service)">
<summary>
Retrieve a service from the context.
@ -6604,6 +6909,11 @@
resource lookups using this strongly typed resource class.
</summary>
</member>
<member name="P:Autofac.Features.GeneratedFactories.GeneratedFactoryRegistrationSourceResources.DuplicateTypesInTypeMappedFuncParameterList">
<summary>
Looks up a localized string similar to Unable to generate a function to return type &apos;{0}&apos; with input parameter types [{1}]. The input parameter type list has duplicate types. Try registering a custom delegate type instead of using a generic Func relationship..
</summary>
</member>
<member name="P:Autofac.Features.GeneratedFactories.GeneratedFactoryRegistrationSourceResources.GeneratedFactoryRegistrationSourceDescription">
<summary>
Looks up a localized string similar to Delegate Support (Func&lt;T&gt;and Custom Delegates).

Binary file not shown.

Binary file not shown.

View File

@ -161,7 +161,7 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da"/>
<bindingRedirect oldVersion="2.2.0.0-2.6.3.862" newVersion="3.0.0.0"/>
<bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed"/>