mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing unit tests and warnings
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -616,6 +616,11 @@
|
||||
Looks up a localized string similar to Unable to convert object of type '{0}' to type '{1}'..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Configuration.ConfigurationSettingsReaderResources.TypeConverterAttributeTypeNotConverter">
|
||||
<summary>
|
||||
Looks up a localized string similar to The type '{0}' 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 '{0}' could not be found. It may require assembly qualification, e.g. "MyType, MyAssembly"..
|
||||
@@ -663,7 +668,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 +1119,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 +1127,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">
|
||||
|
Binary file not shown.
Binary file not shown.
@@ -1,353 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Autofac.Integration.Mef</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Autofac.Integration.Mef.ContractBasedService">
|
||||
<summary>
|
||||
Identifies a service by the MEF contract name it supports.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.ContractBasedService.#ctor(System.String,System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Mef.ContractBasedService"/> class.
|
||||
</summary>
|
||||
<param name="contractName">The contract name.</param>
|
||||
<param name="exportTypeIdentity">Type identity of the objects exported under the contract.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.ContractBasedService.Equals(System.Object)">
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>.
|
||||
</summary>
|
||||
<param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:System.Object"/>.</param>
|
||||
<returns>
|
||||
true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>; otherwise, false.
|
||||
</returns>
|
||||
<exception cref="T:System.NullReferenceException">The <paramref name="obj"/> parameter is null.</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.ContractBasedService.GetHashCode">
|
||||
<summary>
|
||||
Serves as a hash function for a particular ExportDefinition.
|
||||
</summary>
|
||||
<returns>
|
||||
A hash code for the current <see cref="T:System.Object"/>.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.ContractBasedService.ExportTypeIdentity">
|
||||
<summary>
|
||||
Type identity of the objects exported under the contract.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.ContractBasedService.ContractName">
|
||||
<summary>
|
||||
Gets or sets the name of the contract.
|
||||
</summary>
|
||||
<value>The name of the contract.</value>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.ContractBasedService.Description">
|
||||
<summary>
|
||||
Gets a human-readable description of the service.
|
||||
</summary>
|
||||
<value>The description.</value>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.ContractBasedServiceResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.ContractBasedServiceResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.ContractBasedServiceResources.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.Mef.ContractBasedServiceResources.DescriptionFormat">
|
||||
<summary>
|
||||
Looks up a localized string similar to ContractName={0}.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.ExportConfigurationBuilder">
|
||||
<summary>
|
||||
Configures an Export on an Autofac component.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.ExportConfigurationBuilder.As``1">
|
||||
<summary>
|
||||
Export the component under typed contract <typeparamref name="TContract"/>.
|
||||
</summary>
|
||||
<typeparam name="TContract">Contract type.</typeparam>
|
||||
<returns>Builder for additional configuration.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.ExportConfigurationBuilder.AsNamed``1(System.String)">
|
||||
<summary>
|
||||
Export the component under named contract <paramref name="name"/>.
|
||||
</summary>
|
||||
<typeparam name="TExportedValue">Exported value type.</typeparam>
|
||||
<param name="name">Contract name.</param>
|
||||
<returns>Builder for additional configuration.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.ExportConfigurationBuilder.WithMetadata(System.String,System.Object)">
|
||||
<summary>
|
||||
Add metadata to the export.
|
||||
</summary>
|
||||
<param name="key">Metadata key.</param>
|
||||
<param name="value">Metadata value.</param>
|
||||
<returns>Builder for additional configuration.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.ExportConfigurationBuilder.WithMetadata(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}})">
|
||||
<summary>
|
||||
Add metadata to the export.
|
||||
</summary>
|
||||
<param name="metadata">Metadata.</param>
|
||||
<returns>Builder for additional configuration.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="metadata"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.IMetadataConfiguration">
|
||||
<summary>
|
||||
Implementors are able to provide metadata for a component.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.IMetadataConfiguration.Properties">
|
||||
<summary>
|
||||
Gets the metadata properties and values.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.LazyWithMetadataRegistrationSourceResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.LazyWithMetadataRegistrationSourceResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.LazyWithMetadataRegistrationSourceResources.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.Mef.LazyWithMetadataRegistrationSourceResources.LazyWithMetadataRegistrationSourceDescription">
|
||||
<summary>
|
||||
Looks up a localized string similar to Lazy<T, TMetadata> Support.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.LazyWithMetadataRegistrationSource">
|
||||
<summary>
|
||||
Support the <see cref="T:System.Lazy`2"/>
|
||||
types automatically whenever type T is registered with the container.
|
||||
Metadata values come from the component registration's metadata.
|
||||
When a dependency of a lazy type is used, the instantiation of the underlying
|
||||
component will be delayed until the Value property is first accessed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.StronglyTypedMetaRegistrationSource">
|
||||
<summary>
|
||||
Support the <see cref="T:Autofac.Features.Metadata.Meta`2"/>
|
||||
types automatically whenever type T is registered with the container.
|
||||
Metadata values come from the component registration's metadata.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.Util.ReflectionExtensions">
|
||||
<summary>
|
||||
Extension methods for reflection-related types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.Util.ReflectionExtensions.TryGetDeclaringProperty(System.Reflection.ParameterInfo,System.Reflection.PropertyInfo@)">
|
||||
<summary>
|
||||
Maps from a property-set-value parameter to the declaring property.
|
||||
</summary>
|
||||
<param name="pi">Parameter to the property setter.</param>
|
||||
<param name="prop">The property info on which the setter is specified.</param>
|
||||
<returns>True if the parameter is a property setter.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.Util.ReflectionExtensions.GetProperty``2(System.Linq.Expressions.Expression{System.Func{``0,``1}})">
|
||||
<summary>
|
||||
Get a PropertyInfo object from an expression of the form
|
||||
x => x.P.
|
||||
</summary>
|
||||
<typeparam name="TDeclaring">Type declaring the property.</typeparam>
|
||||
<typeparam name="TProperty">The type of the property.</typeparam>
|
||||
<param name="propertyAccessor">Expression mapping an instance of the
|
||||
declaring type to the property value.</param>
|
||||
<returns>Property info.</returns>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.Util.ReflectionExtensionsResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.Util.ReflectionExtensionsResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.Util.ReflectionExtensionsResources.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.Mef.Util.ReflectionExtensionsResources.ExpressionNotPropertyAccessor">
|
||||
<summary>
|
||||
Looks up a localized string similar to The provided expression must be of the form x =>x.P, but the provided expression was {0}..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.StronglyTypedMetaRegistrationSourceResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.StronglyTypedMetaRegistrationSourceResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.StronglyTypedMetaRegistrationSourceResources.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.Mef.StronglyTypedMetaRegistrationSourceResources.StronglyTypedMetaRegistrationSourceDescription">
|
||||
<summary>
|
||||
Looks up a localized string similar to Meta<T, TMetadata> Support.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.RegistrationExtensions">
|
||||
<summary>
|
||||
Extension methods that add MEF hosting capabilities to the container building classes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Autofac.Integration.Mef.RegistrationExtensions._contractNameServices">
|
||||
<summary>
|
||||
Reference to the internal <see cref="T:System.Type"/> for <c>System.ComponentModel.Composition.ContractNameServices</c>,
|
||||
which is responsible for mapping types to MEF contract names.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Autofac.Integration.Mef.RegistrationExtensions._typeIdentityCache">
|
||||
<summary>
|
||||
Reference to the property <c>System.ComponentModel.Composition.ContractNameServices.TypeIdentityCache</c>,
|
||||
which holds the dictionary of <see cref="T:System.Type"/> to <see cref="T:System.String"/> contract name mappings.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.RegisterMetadataRegistrationSources(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Registers the <see cref="T:Autofac.Integration.Mef.LazyWithMetadataRegistrationSource"/> and
|
||||
<see cref="T:Autofac.Integration.Mef.StronglyTypedMetaRegistrationSource"/> registration sources.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.Exported``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Action{Autofac.Integration.Mef.ExportConfigurationBuilder})">
|
||||
<summary>
|
||||
Expose the registered service to MEF parts as an export.
|
||||
</summary>
|
||||
<param name="registration">The component being registered.</param>
|
||||
<param name="configurationAction">Action on an object that configures the export.</param>
|
||||
<returns>A registration allowing registration to continue.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.RegisterComposablePartType(Autofac.ContainerBuilder,System.Type)">
|
||||
<summary>
|
||||
Register a MEF-attributed type as a component.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="partType">The attributed type to register.</param>
|
||||
<remarks>
|
||||
A simple heuristic/type scanning technique will be used to determine which MEF exports
|
||||
are exposed to other components in the Autofac container.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.RegisterComposablePartType(Autofac.ContainerBuilder,System.Type,System.Func{System.ComponentModel.Composition.Primitives.ExportDefinition,System.Collections.Generic.IEnumerable{Autofac.Core.Service}})">
|
||||
<summary>
|
||||
Register a MEF-attributed type as a component.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="partType">The attributed type to register.</param>
|
||||
<param name="exposedServicesMapper">A mapping function to transform ExportDefinitions into Services.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.RegisterComposablePartCatalog(Autofac.ContainerBuilder,System.ComponentModel.Composition.Primitives.ComposablePartCatalog)">
|
||||
<summary>
|
||||
Register a MEF catalog.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="catalog">The catalog to register.</param>
|
||||
<remarks>
|
||||
A simple heuristic/type scanning technique will be used to determine which MEF exports
|
||||
are exposed to other components in the Autofac container.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.RegisterComposablePartCatalog(Autofac.ContainerBuilder,System.ComponentModel.Composition.Primitives.ComposablePartCatalog,Autofac.Core.Service[])">
|
||||
<summary>
|
||||
Register a MEF catalog.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="catalog">The catalog to register.</param>
|
||||
<param name="interchangeServices">The services that will be exposed to other components in the container.</param>
|
||||
<remarks>
|
||||
Named and typed services only can be matched in the <paramref name="interchangeServices"/> collection.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.RegisterComposablePartCatalog(Autofac.ContainerBuilder,System.ComponentModel.Composition.Primitives.ComposablePartCatalog,System.Func{System.ComponentModel.Composition.Primitives.ExportDefinition,System.Collections.Generic.IEnumerable{Autofac.Core.Service}})">
|
||||
<summary>
|
||||
Register a MEF catalog.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="catalog">The catalog to register.</param>
|
||||
<param name="exposedServicesMapper">A mapping function to transform ExportDefinitions into Services.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.RegisterComposablePartDefinition(Autofac.ContainerBuilder,System.ComponentModel.Composition.Primitives.ComposablePartDefinition,System.Func{System.ComponentModel.Composition.Primitives.ExportDefinition,System.Collections.Generic.IEnumerable{Autofac.Core.Service}})">
|
||||
<summary>
|
||||
Register a MEF part definition.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="partDefinition">The part definition to register.</param>
|
||||
<param name="exposedServicesMapper">A mapping function to transform ExportDefinitions into Services.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.ResolveExports``1(Autofac.IComponentContext)">
|
||||
<summary>
|
||||
Locate all of the MEF exports registered as supplying contract type T.
|
||||
</summary>
|
||||
<typeparam name="T">The contract type.</typeparam>
|
||||
<param name="context">The context to resolve exports from.</param>
|
||||
<returns>A list of exports.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mef.RegistrationExtensions.ResolveExports``1(Autofac.IComponentContext,System.String)">
|
||||
<summary>
|
||||
Locate all of the MEF exports registered as supplying contract type T.
|
||||
</summary>
|
||||
<param name="contractName">The contract name.</param>
|
||||
<param name="context">The context to resolve exports from.</param>
|
||||
<returns>A list of exports.</returns>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mef.RegistrationExtensionsResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.RegistrationExtensionsResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mef.RegistrationExtensionsResources.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.Mef.RegistrationExtensionsResources.ContractBasedOnly">
|
||||
<summary>
|
||||
Looks up a localized string similar to Import '{0}' is not supported: only contract-based imports are supported..
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
Binary file not shown.
@@ -1,713 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Autofac.Integration.Mvc</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Autofac.Integration.Mvc.AutofacDependencyResolver">
|
||||
<summary>
|
||||
Autofac implementation of the <see cref="T:System.Web.Mvc.IDependencyResolver"/> interface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacDependencyResolver.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Mvc.AutofacDependencyResolver"/> class.
|
||||
</summary>
|
||||
<param name="container">The container that nested lifetime scopes will be create from.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacDependencyResolver.#ctor(Autofac.ILifetimeScope,System.Action{Autofac.ContainerBuilder})">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Mvc.AutofacDependencyResolver"/> class.
|
||||
</summary>
|
||||
<param name="container">The container that nested lifetime scopes will be create from.</param>
|
||||
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
|
||||
that adds component registations visible only in nested lifetime scopes.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacDependencyResolver.#ctor(Autofac.ILifetimeScope,Autofac.Integration.Mvc.ILifetimeScopeProvider)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Mvc.AutofacDependencyResolver"/> class.
|
||||
</summary>
|
||||
<param name="container">The container that nested lifetime scopes will be create from.</param>
|
||||
<param name="lifetimeScopeProvider">A <see cref="T:Autofac.Integration.Mvc.ILifetimeScopeProvider"/> implementation for
|
||||
creating new lifetime scopes.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacDependencyResolver.#ctor(Autofac.ILifetimeScope,Autofac.Integration.Mvc.ILifetimeScopeProvider,System.Action{Autofac.ContainerBuilder})">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Mvc.AutofacDependencyResolver"/> class.
|
||||
</summary>
|
||||
<param name="container">The container that nested lifetime scopes will be create from.</param>
|
||||
<param name="lifetimeScopeProvider">A <see cref="T:Autofac.Integration.Mvc.ILifetimeScopeProvider"/> implementation for
|
||||
creating new lifetime scopes.</param>
|
||||
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
|
||||
that adds component registations visible only in nested lifetime scopes.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacDependencyResolver.GetService(System.Type)">
|
||||
<summary>
|
||||
Get a single instance of a service.
|
||||
</summary>
|
||||
<param name="serviceType">Type of the service.</param>
|
||||
<returns>The single instance if resolved; otherwise, <c>null</c>.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacDependencyResolver.GetServices(System.Type)">
|
||||
<summary>
|
||||
Gets all available instances of a services.
|
||||
</summary>
|
||||
<param name="serviceType">Type of the service.</param>
|
||||
<returns>The list of instances if any were resolved; otherwise, an empty list.</returns>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.AutofacDependencyResolver.Current">
|
||||
<summary>
|
||||
Gets the Autofac implementation of the dependency resolver.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.AutofacDependencyResolver.RequestLifetimeScope">
|
||||
<summary>
|
||||
The lifetime containing components for processing the current HTTP request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.AutofacDependencyResolver.ApplicationContainer">
|
||||
<summary>
|
||||
Gets the application container that was provided to the constructor.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.AutofacFilterProvider">
|
||||
<summary>
|
||||
Defines a filter provider for filter attributes that performs property injection.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacFilterProvider.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Mvc.AutofacFilterProvider"/> class.
|
||||
</summary>
|
||||
<remarks>
|
||||
The <c>false</c> constructor parameter passed to base here ensures that attribute instances are not cached.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacFilterProvider.GetFilters(System.Web.Mvc.ControllerContext,System.Web.Mvc.ActionDescriptor)">
|
||||
<summary>
|
||||
Aggregates the filters from all of the filter providers into one collection.
|
||||
</summary>
|
||||
<param name="controllerContext">The controller context.</param>
|
||||
<param name="actionDescriptor">The action descriptor.</param>
|
||||
<returns>
|
||||
The collection filters from all of the filter providers with properties injected.
|
||||
</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="controllerContext"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.AutofacModelBinderProvider">
|
||||
<summary>
|
||||
Autofac implementation of the <see cref="T:System.Web.Mvc.IModelBinderProvider"/> interface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Autofac.Integration.Mvc.AutofacModelBinderProvider.MetadataKey">
|
||||
<summary>
|
||||
Metadata key for the supported model types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacModelBinderProvider.GetBinder(System.Type)">
|
||||
<summary>
|
||||
Gets the model binder associated with the provided model type.
|
||||
</summary>
|
||||
<param name="modelType">Type of the model.</param>
|
||||
<returns>An <see cref="T:System.Web.Mvc.IModelBinder"/> instance if found; otherwise, <c>null</c>.</returns>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.AutofacWebTypesModule">
|
||||
<summary>
|
||||
Dependency injection module that registers abstractions for common
|
||||
web application properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
This <see cref="T:Autofac.Module"/> is primarily used during
|
||||
application startup (in <c>Global.asax</c>) to register
|
||||
mappings from commonly referenced contextual application properties
|
||||
to their corresponding abstraction.
|
||||
</para>
|
||||
<para>
|
||||
The following mappings are made:
|
||||
</para>
|
||||
<list type="table">
|
||||
<listheader>
|
||||
<term>Common Construct</term>
|
||||
<description>Abstraction</description>
|
||||
</listheader>
|
||||
<item>
|
||||
<term><c>HttpContext.Current</c></term>
|
||||
<description><see cref="T:System.Web.HttpContextBase"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HttpContext.Current.Application</c></term>
|
||||
<description><see cref="T:System.Web.HttpApplicationStateBase"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HttpContext.Current.Request</c></term>
|
||||
<description><see cref="T:System.Web.HttpRequestBase"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HttpContext.Current.Request.Browser</c></term>
|
||||
<description><see cref="T:System.Web.HttpBrowserCapabilitiesBase"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HttpContext.Current.Request.Files</c></term>
|
||||
<description><see cref="T:System.Web.HttpFileCollectionBase"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HttpContext.Current.Request.RequestContext</c></term>
|
||||
<description><see cref="T:System.Web.Routing.RequestContext"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HttpContext.Current.Response</c></term>
|
||||
<description><see cref="T:System.Web.HttpResponseBase"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HttpContext.Current.Response.Cache</c></term>
|
||||
<description><see cref="T:System.Web.HttpCachePolicyBase"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HttpContext.Current.Server</c></term>
|
||||
<description><see cref="T:System.Web.HttpServerUtilityBase"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HttpContext.Current.Session</c></term>
|
||||
<description><see cref="T:System.Web.HttpSessionStateBase"/></description>
|
||||
</item>
|
||||
<item>
|
||||
<term><c>HostingEnvironment.VirtualPathProvider</c></term>
|
||||
<description><see cref="T:System.Web.Hosting.VirtualPathProvider"/></description>
|
||||
</item>
|
||||
</list>
|
||||
<para>
|
||||
In addition, the <see cref="T:System.Web.Mvc.UrlHelper"/> type is registered
|
||||
for construction based on the current <see cref="T:System.Web.Routing.RequestContext"/>.
|
||||
</para>
|
||||
<para>
|
||||
The lifetime for each of these items is one web request.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.AutofacWebTypesModule.Load(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Registers web abstractions with dependency injection.
|
||||
</summary>
|
||||
<param name="builder">
|
||||
The <see cref="T:Autofac.ContainerBuilder"/> in which registration
|
||||
should take place.
|
||||
</param>
|
||||
<remarks>
|
||||
<para>
|
||||
This method registers mappings between common current context-related
|
||||
web constructs and their associated abstract counterparts. See
|
||||
<see cref="T:Autofac.Integration.Mvc.AutofacWebTypesModule"/> for the complete
|
||||
list of mappings that get registered.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.FilterMetadata">
|
||||
<summary>
|
||||
Metadata interface for filter registrations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.FilterMetadata.ControllerType">
|
||||
<summary>
|
||||
Gets the type of the controller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.FilterMetadata.FilterScope">
|
||||
<summary>
|
||||
Gets the filter scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.FilterMetadata.MethodInfo">
|
||||
<summary>
|
||||
Gets the method info.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.FilterMetadata.Order">
|
||||
<summary>
|
||||
Gets the order in which the filter is applied.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.RegistrationExtensionsResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.RegistrationExtensionsResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.RegistrationExtensionsResources.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.Mvc.RegistrationExtensionsResources.InvalidActionExpress">
|
||||
<summary>
|
||||
Looks up a localized string similar to The action method Expression is invalid. It should consist only of a Method call to a controller action method..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.RegistrationExtensionsResources.InvalidModelBinderType">
|
||||
<summary>
|
||||
Looks up a localized string similar to Type list may not be empty or contain all null values..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.RegistrationExtensionsResources.MustBeAssignableToFilterType">
|
||||
<summary>
|
||||
Looks up a localized string similar to The type '{0}' must be assignable to the filter type '{1}'..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.RequestLifetimeScopeProvider">
|
||||
<summary>
|
||||
Creates and disposes HTTP request based lifetime scopes.
|
||||
</summary>
|
||||
<remarks>
|
||||
The provider is notified when a HTTP request ends by the <see cref="T:Autofac.Integration.Mvc.RequestLifetimeHttpModule"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.ILifetimeScopeProvider">
|
||||
<summary>
|
||||
Implementors are able to control the creation of nested lifetime scopes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.ILifetimeScopeProvider.GetLifetimeScope(System.Action{Autofac.ContainerBuilder})">
|
||||
<summary>
|
||||
Gets a nested lifetime scope that services can be resolved from.
|
||||
</summary>
|
||||
<param name="configurationAction">
|
||||
A configuration action that will execute during lifetime scope creation.
|
||||
</param>
|
||||
<returns>A new or existing nested lifetime scope.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.ILifetimeScopeProvider.EndLifetimeScope">
|
||||
<summary>
|
||||
Ends the current lifetime scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.ILifetimeScopeProvider.ApplicationContainer">
|
||||
<summary>
|
||||
Gets the global, application-wide container.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Autofac.Integration.Mvc.RequestLifetimeScopeProvider.HttpRequestTag">
|
||||
<summary>
|
||||
Tag used to identify registrations that are scoped to the HTTP request level.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RequestLifetimeScopeProvider.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Mvc.RequestLifetimeScopeProvider"/> class.
|
||||
</summary>
|
||||
<param name="container">The parent container, usually the application container.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RequestLifetimeScopeProvider.GetLifetimeScope(System.Action{Autofac.ContainerBuilder})">
|
||||
<summary>
|
||||
Gets a nested lifetime scope that services can be resolved from.
|
||||
</summary>
|
||||
<param name="configurationAction">
|
||||
A configuration action that will execute during lifetime scope creation.
|
||||
</param>
|
||||
<returns>A new or existing nested lifetime scope.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RequestLifetimeScopeProvider.EndLifetimeScope">
|
||||
<summary>
|
||||
Ends the current HTTP request lifetime scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RequestLifetimeScopeProvider.GetLifetimeScopeCore(System.Action{Autofac.ContainerBuilder})">
|
||||
<summary>
|
||||
Gets a lifetime scope for the current HTTP request. This method can be overridden
|
||||
to alter the way that the life time scope is constructed.
|
||||
</summary>
|
||||
<param name="configurationAction">
|
||||
A configuration action that will execute during lifetime scope creation.
|
||||
</param>
|
||||
<returns>A new lifetime scope for the current HTTP request.</returns>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.RequestLifetimeScopeProvider.ApplicationContainer">
|
||||
<summary>
|
||||
Gets the global, application-wide container.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.ExtensibleActionInvoker">
|
||||
<summary>
|
||||
Injects services from the container into the ASP.NET MVC invocation pipeline.
|
||||
This is a Async Controller Action Invoker which can be used for both async and non-async scenarios
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Action methods can include parameters that will be resolved from the
|
||||
container, along with regular parameters.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.ExtensibleActionInvoker.GetParameterValue(System.Web.Mvc.ControllerContext,System.Web.Mvc.ParameterDescriptor)">
|
||||
<summary>
|
||||
Gets the parameter value.
|
||||
</summary>
|
||||
<param name="controllerContext">The controller context.</param><param name="parameterDescriptor">The parameter descriptor.</param>
|
||||
<returns>
|
||||
The parameter value.
|
||||
</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="parameterDescriptor"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.ModelBinderTypeAttribute">
|
||||
<summary>
|
||||
Indicates what types a model binder supports.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.ModelBinderTypeAttribute.#ctor(System.Type[])">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Mvc.ModelBinderTypeAttribute"/> class.
|
||||
</summary>
|
||||
<param name="targetTypes">The target types.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.ModelBinderTypeAttribute.#ctor(System.Type)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Mvc.ModelBinderTypeAttribute"/> class.
|
||||
</summary>
|
||||
<param name="targetType">The target type.</param>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.ModelBinderTypeAttribute.TargetTypes">
|
||||
<summary>
|
||||
Gets the target types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.PreApplicationStartCode">
|
||||
<summary>
|
||||
Container class for the ASP.NET application startup method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.PreApplicationStartCode.Start">
|
||||
<summary>
|
||||
Performs ASP.NET application startup logic early in the pipeline.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.RegistrationExtensions">
|
||||
<summary>
|
||||
Extends <see cref="T:Autofac.ContainerBuilder"/> with methods to support ASP.NET MVC.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.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.Mvc.RegistrationExtensions.RegisterControllers(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
Register types that implement IController in the provided assemblies.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="controllerAssemblies">Assemblies to scan for controllers.</param>
|
||||
<returns>Registration builder allowing the controller components to be customised.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.InjectActionInvoker``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
||||
<summary>
|
||||
Inject an IActionInvoker into the controller's ActionInvoker property.
|
||||
</summary>
|
||||
<typeparam name="TLimit">Limit type.</typeparam>
|
||||
<typeparam name="TActivatorData">Activator data.</typeparam>
|
||||
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
||||
<param name="registrationBuilder">The registration builder.</param>
|
||||
<returns>A registration builder.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.InjectActionInvoker``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},Autofac.Core.Service)">
|
||||
<summary>
|
||||
Inject an IActionInvoker into the controller's ActionInvoker property.
|
||||
</summary>
|
||||
<typeparam name="TLimit">Limit type.</typeparam>
|
||||
<typeparam name="TActivatorData">Activator data.</typeparam>
|
||||
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
||||
<param name="registrationBuilder">The registration builder.</param>
|
||||
<param name="actionInvokerService">Service used to resolve the action invoker.</param>
|
||||
<returns>A registration builder.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.RegisterModelBinderProvider(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Registers the <see cref="T:Autofac.Integration.Mvc.AutofacModelBinderProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.AsModelBinderForTypes``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type[])">
|
||||
<summary>
|
||||
Sets a provided registration to act as an <see cref="T:System.Web.Mvc.IModelBinder"/>
|
||||
for the specified list of types.
|
||||
</summary>
|
||||
<param name="registration">
|
||||
The registration for the type or object instance that will act as
|
||||
the model binder.
|
||||
</param>
|
||||
<param name="types">
|
||||
The list of model <see cref="T:System.Type"/> for which the <paramref name="registration"/>
|
||||
should be a model binder.
|
||||
</param>
|
||||
<typeparam name="TLimit">
|
||||
Registration limit type.
|
||||
</typeparam>
|
||||
<typeparam name="TActivatorData">
|
||||
Activator data type.
|
||||
</typeparam>
|
||||
<typeparam name="TRegistrationStyle">
|
||||
Registration style.
|
||||
</typeparam>
|
||||
<returns>
|
||||
An Autofac registration that can be modified as needed.
|
||||
</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="registration"/> or <paramref name="types"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
Thrown if <paramref name="types"/> is empty or contains all <see langword="null"/>
|
||||
values.
|
||||
</exception>
|
||||
<remarks>
|
||||
<para>
|
||||
The declarative mechanism of registering model binders with Autofac
|
||||
is through use of <see cref="M:Autofac.Integration.Mvc.RegistrationExtensions.RegisterModelBinders(Autofac.ContainerBuilder,System.Reflection.Assembly[])"/>
|
||||
and the <see cref="T:Autofac.Integration.Mvc.ModelBinderTypeAttribute"/>.
|
||||
This method is an imperative alternative.
|
||||
</para>
|
||||
<para>
|
||||
The two mechanisms are mutually exclusive. If you register a model
|
||||
binder using <see cref="M:Autofac.Integration.Mvc.RegistrationExtensions.RegisterModelBinders(Autofac.ContainerBuilder,System.Reflection.Assembly[])"/>
|
||||
and register the same model binder with this method, the results
|
||||
are not automatically merged together - standard dependency
|
||||
registration/resolution rules will be used to manage the conflict.
|
||||
</para>
|
||||
<para>
|
||||
Any <see langword="null"/> values provided in <paramref name="types"/>
|
||||
will be removed prior to registration.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.RegisterModelBinders(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
Register types that implement <see cref="T:System.Web.Mvc.IModelBinder"/> in the provided assemblies
|
||||
and have a <see cref="T:Autofac.Integration.Mvc.ModelBinderTypeAttribute"/>.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="modelBinderAssemblies">Assemblies to scan for model binders.</param>
|
||||
<returns>A registration builder.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="builder"/> or <paramref name="modelBinderAssemblies"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
<remarks>
|
||||
<para>
|
||||
The declarative mechanism of registering model binders with Autofac
|
||||
is through use of this method and the
|
||||
<see cref="T:Autofac.Integration.Mvc.ModelBinderTypeAttribute"/>.
|
||||
If you would like more imperative control over registration for your
|
||||
model binders, see the <see cref="M:Autofac.Integration.Mvc.RegistrationExtensions.AsModelBinderForTypes``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type[])"/>
|
||||
method.
|
||||
</para>
|
||||
<para>
|
||||
The two mechanisms are mutually exclusive. If you register a model
|
||||
binder using <see cref="M:Autofac.Integration.Mvc.RegistrationExtensions.AsModelBinderForTypes``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type[])"/>
|
||||
and register the same model binder with this method, the results
|
||||
are not automatically merged together - standard dependency
|
||||
registration/resolution rules will be used to manage the conflict.
|
||||
</para>
|
||||
<para>
|
||||
This method only registers types that implement <see cref="T:System.Web.Mvc.IModelBinder"/>
|
||||
and are marked with the <see cref="T:Autofac.Integration.Mvc.ModelBinderTypeAttribute"/>.
|
||||
The model binder must have the attribute because the
|
||||
<see cref="T:Autofac.Integration.Mvc.AutofacModelBinderProvider"/> uses
|
||||
the associated metadata - from the attribute(s) - to resolve the
|
||||
binder based on model type. If there aren't any attributes, there
|
||||
won't be any metadata, so the model binder will be technically
|
||||
registered but will never actually be resolved.
|
||||
</para>
|
||||
<para>
|
||||
If your model is not marked with the attribute, or if you don't want
|
||||
to use attributes, use the
|
||||
<see cref="M:Autofac.Integration.Mvc.RegistrationExtensions.AsModelBinderForTypes``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type[])"/>
|
||||
extension instead.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.RegisterFilterProvider(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Registers the <see cref="T:Autofac.Integration.Mvc.AutofacFilterProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.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="M:Autofac.Integration.Mvc.RegistrationExtensions.AsActionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}},System.Int32)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Mvc.IActionFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<param name="order">The order in which the filter is applied.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.AsActionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Int32)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Mvc.IActionFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="order">The order in which the filter is applied.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.AsAuthorizationFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}},System.Int32)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Mvc.IAuthorizationFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<param name="order">The order in which the filter is applied.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.AsAuthorizationFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Int32)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Mvc.IAuthorizationFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="order">The order in which the filter is applied.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.AsExceptionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}},System.Int32)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Mvc.IExceptionFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<param name="order">The order in which the filter is applied.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.AsExceptionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Int32)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Mvc.IExceptionFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="order">The order in which the filter is applied.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.AsResultFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}},System.Int32)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Mvc.IResultFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<param name="order">The order in which the filter is applied.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RegistrationExtensions.AsResultFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Int32)">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:System.Web.Mvc.IResultFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="order">The order in which the filter is applied.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.RequestLifetimeHttpModule">
|
||||
<summary>
|
||||
An <see cref="T:System.Web.IHttpModule"/> and <see cref="T:Autofac.Integration.Mvc.ILifetimeScopeProvider"/> implementation
|
||||
that creates a nested lifetime scope for each HTTP request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RequestLifetimeHttpModule.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>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="context"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.RequestLifetimeHttpModule.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="P:Autofac.Integration.Mvc.RequestLifetimeHttpModule.LifetimeScopeProvider">
|
||||
<summary>
|
||||
Gets the lifetime scope provider that should be notified when a HTTP request ends.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.RequestLifetimeScopeProviderResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.RequestLifetimeScopeProviderResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.RequestLifetimeScopeProviderResources.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.Mvc.RequestLifetimeScopeProviderResources.HttpContextNotAvailable">
|
||||
<summary>
|
||||
Looks up a localized string similar to The request lifetime scope cannot be created because the HttpContext is not available..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.RequestLifetimeScopeProviderResources.NullLifetimeScopeReturned">
|
||||
<summary>
|
||||
Looks up a localized string similar to The 'GetLifetimeScopeCore' method implementation on '{0}' returned a null ILifetimeScope instance. When overridden this method must return a valid ILifetimeScope instance for the current HTTP request..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Mvc.ViewRegistrationSource">
|
||||
<summary>
|
||||
A registration source for building view registrations.
|
||||
</summary>
|
||||
<remarks>
|
||||
Supports view registrations for <see cref="T:System.Web.Mvc.WebViewPage"/>, <see cref="T:System.Web.Mvc.ViewPage"/>,
|
||||
<see cref="T:System.Web.Mvc.ViewMasterPage"/> and <see cref="T:System.Web.Mvc.ViewUserControl"/> derived types.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Mvc.ViewRegistrationSource.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
|
||||
by the container.
|
||||
</summary>
|
||||
<param name="service">The service that was requested.</param>
|
||||
<param name="registrationAccessor">A function that will return existing registrations for a service.</param>
|
||||
<returns>Registrations providing the service.</returns>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Mvc.ViewRegistrationSource.IsAdapterForIndividualComponents">
|
||||
<summary>
|
||||
Gets whether the registrations provided by this source are 1:1 adapters on top
|
||||
of other components (I.e. like Meta, Func or Owned.)
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
Binary file not shown.
@@ -1,73 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Autofac.Integration.SignalR</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Autofac.Integration.SignalR.AutofacDependencyResolver">
|
||||
<summary>
|
||||
Autofac implementation of the <see cref="T:Microsoft.AspNet.SignalR.IDependencyResolver"/> interface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.SignalR.AutofacDependencyResolver.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.SignalR.AutofacDependencyResolver"/> class.
|
||||
</summary>
|
||||
<param name="lifetimeScope">The lifetime scope that services will be resolved from.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="lifetimeScope"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.SignalR.AutofacDependencyResolver.GetService(System.Type)">
|
||||
<summary>
|
||||
Get a single instance of a service.
|
||||
</summary>
|
||||
<param name="serviceType">Type of the service.</param>
|
||||
<returns>The single instance if resolved; otherwise, <c>null</c>.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.SignalR.AutofacDependencyResolver.GetServices(System.Type)">
|
||||
<summary>
|
||||
Gets all available instances of a services.
|
||||
</summary>
|
||||
<param name="serviceType">Type of the service.</param>
|
||||
<returns>The list of instances if any were resolved; otherwise, an empty list.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.SignalR.AutofacDependencyResolver.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 by the container.
|
||||
</summary>
|
||||
<param name="service">The service that was requested.</param>
|
||||
<param name="registrationAccessor">A function that will return existing registrations for a service.</param>
|
||||
<returns>Registrations providing the service.</returns>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.SignalR.AutofacDependencyResolver.Current">
|
||||
<summary>
|
||||
Gets the Autofac implementation of the dependency resolver.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.SignalR.AutofacDependencyResolver.LifetimeScope">
|
||||
<summary>
|
||||
Gets the <see cref="T:Autofac.ILifetimeScope"/> that was provided to the constructor.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.SignalR.AutofacDependencyResolver.IsAdapterForIndividualComponents">
|
||||
<summary>
|
||||
Gets whether the registrations provided by this source are 1:1 adapters on top
|
||||
of other components (I.e. like Meta, Func or Owned.)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.SignalR.RegistrationExtensions">
|
||||
<summary>
|
||||
Extends <see cref="T:Autofac.ContainerBuilder"/> with methods to support ASP.NET SignalR.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.SignalR.RegistrationExtensions.RegisterHubs(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
Register types that implement <see cref="T:Microsoft.AspNet.SignalR.Hubs.IHub"/> in the provided assemblies.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="controllerAssemblies">Assemblies to scan for controllers.</param>
|
||||
<returns>Registration builder allowing the controller components to be customised.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
Binary file not shown.
@@ -1,612 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Autofac.Integration.Wcf</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Autofac.Integration.Wcf.AutofacDependencyInjectionServiceBehavior">
|
||||
<summary>
|
||||
Sets the instance provider to an AutofacInstanceProvider.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacDependencyInjectionServiceBehavior.#ctor(Autofac.ILifetimeScope,Autofac.Integration.Wcf.ServiceImplementationData)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Wcf.AutofacDependencyInjectionServiceBehavior"/> class.
|
||||
</summary>
|
||||
<param name="rootLifetimeScope">
|
||||
The container from which service implementations should be resolved.
|
||||
</param>
|
||||
<param name="serviceData">
|
||||
Data about which service type should be hosted and how to resolve
|
||||
the type to use for the service implementation.
|
||||
</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="rootLifetimeScope"/> or <paramref name="serviceData"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacDependencyInjectionServiceBehavior.Validate(System.ServiceModel.Description.ServiceDescription,System.ServiceModel.ServiceHostBase)">
|
||||
<summary>
|
||||
Provides the ability to inspect the service host and the service description to confirm that the service can run successfully.
|
||||
</summary>
|
||||
<param name="serviceDescription">The service description.</param>
|
||||
<param name="serviceHostBase">The service host that is currently being constructed.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacDependencyInjectionServiceBehavior.AddBindingParameters(System.ServiceModel.Description.ServiceDescription,System.ServiceModel.ServiceHostBase,System.Collections.ObjectModel.Collection{System.ServiceModel.Description.ServiceEndpoint},System.ServiceModel.Channels.BindingParameterCollection)">
|
||||
<summary>
|
||||
Provides the ability to pass custom data to binding elements to support the contract implementation.
|
||||
</summary>
|
||||
<param name="serviceDescription">The service description of the service.</param>
|
||||
<param name="serviceHostBase">The host of the service.</param>
|
||||
<param name="endpoints">The service endpoints.</param>
|
||||
<param name="bindingParameters">Custom objects to which binding elements have access.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacDependencyInjectionServiceBehavior.ApplyDispatchBehavior(System.ServiceModel.Description.ServiceDescription,System.ServiceModel.ServiceHostBase)">
|
||||
<summary>
|
||||
Provides the ability to change run-time property values or insert custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects.
|
||||
</summary>
|
||||
<param name="serviceDescription">The service description.</param>
|
||||
<param name="serviceHostBase">The host that is currently being built.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="serviceDescription"/> or
|
||||
<paramref name="serviceHostBase"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.AutofacInstanceContext">
|
||||
<summary>
|
||||
Manages instance lifecycle using an Autofac inner container.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
This instance context extension creates a child lifetime scope based
|
||||
on a scope provided and resolves service instances from that child scope.
|
||||
</para>
|
||||
<para>
|
||||
When this instance context is disposed, the lifetime scope it creates
|
||||
(which contains the resolved service instance) is also disposed.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceContext.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Wcf.AutofacInstanceContext"/> class.
|
||||
</summary>
|
||||
<param name="container">
|
||||
The outer container/lifetime scope from which the instance scope
|
||||
will be created.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceContext.Finalize">
|
||||
<summary>
|
||||
Finalizes an instance of the <see cref="T:Autofac.Integration.Wcf.AutofacInstanceContext"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceContext.Attach(System.ServiceModel.InstanceContext)">
|
||||
<summary>
|
||||
Enables an extension object to find out when it has been aggregated.
|
||||
Called when the extension is added to the
|
||||
<see cref="P:System.ServiceModel.IExtensibleObject`1.Extensions"/> property.
|
||||
</summary>
|
||||
<param name="owner">The extensible object that aggregates this extension.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceContext.Detach(System.ServiceModel.InstanceContext)">
|
||||
<summary>
|
||||
Enables an object to find out when it is no longer aggregated.
|
||||
Called when an extension is removed from the
|
||||
<see cref="P:System.ServiceModel.IExtensibleObject`1.Extensions"/> property.
|
||||
</summary>
|
||||
<param name="owner">The extensible object that aggregates this extension.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceContext.Dispose">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or
|
||||
resetting unmanaged resources.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceContext.Dispose(System.Boolean)">
|
||||
<summary>
|
||||
Handles disposal of managed and unmanaged resources.
|
||||
</summary>
|
||||
<param name="disposing">
|
||||
<see langword="true"/> to dispose of managed resources (during a manual execution
|
||||
of <see cref="M:Autofac.Integration.Wcf.AutofacInstanceContext.Dispose"/>); or
|
||||
<see langword="false"/> if this is getting run as part of finalization where
|
||||
managed resources may have already been cleaned up.
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceContext.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.Wcf.AutofacInstanceContext.Resolve(Autofac.Integration.Wcf.ServiceImplementationData)">
|
||||
<summary>
|
||||
Retrieve a service instance from the context.
|
||||
</summary>
|
||||
<param name="serviceData">
|
||||
Data object containing information about how to resolve the service
|
||||
implementation instance.
|
||||
</param>
|
||||
<returns>The service instance.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="serviceData"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacInstanceContext.Current">
|
||||
<summary>
|
||||
Gets the current <see cref="T:Autofac.Integration.Wcf.AutofacInstanceContext"/>
|
||||
for the operation.
|
||||
</summary>
|
||||
<value>
|
||||
The <see cref="T:Autofac.Integration.Wcf.AutofacInstanceContext"/> associated
|
||||
with the current <see cref="T:System.ServiceModel.OperationContext"/> if
|
||||
one exists; or <see langword="null"/> if there isn't one.
|
||||
</value>
|
||||
<remarks>
|
||||
<para>
|
||||
In a singleton service, there won't be a current <see cref="T:Autofac.Integration.Wcf.AutofacInstanceContext"/>
|
||||
because singleton services are resolved at the time the service host begins
|
||||
rather than on each operation.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacInstanceContext.OperationLifetime">
|
||||
<summary>
|
||||
Gets the request/operation lifetime.
|
||||
</summary>
|
||||
<value>
|
||||
An <see cref="T:Autofac.ILifetimeScope"/> that this instance
|
||||
context will use to resolve service instances.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacInstanceContext.ComponentRegistry">
|
||||
<summary>
|
||||
Associates services with the components that provide them.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.AutofacInstanceProvider">
|
||||
<summary>
|
||||
Retrieves service instances from an Autofac container.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceProvider.#ctor(Autofac.ILifetimeScope,Autofac.Integration.Wcf.ServiceImplementationData)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.Wcf.AutofacInstanceProvider"/> class.
|
||||
</summary>
|
||||
<param name="rootLifetimeScope">
|
||||
The lifetime scope from which service instances should be resolved.
|
||||
</param>
|
||||
<param name="serviceData">
|
||||
Data object containing information about how to resolve the service
|
||||
implementation instance.
|
||||
</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="rootLifetimeScope"/> or <paramref name="serviceData"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceProvider.GetInstance(System.ServiceModel.InstanceContext)">
|
||||
<summary>
|
||||
Returns a service object given the specified <see cref="T:System.ServiceModel.InstanceContext"/> object.
|
||||
</summary>
|
||||
<param name="instanceContext">The current <see cref="T:System.ServiceModel.InstanceContext"/> object.</param>
|
||||
<returns>A user-defined service object.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceProvider.GetInstance(System.ServiceModel.InstanceContext,System.ServiceModel.Channels.Message)">
|
||||
<summary>
|
||||
Returns a service object given the specified <see cref="T:System.ServiceModel.InstanceContext"/> object.
|
||||
</summary>
|
||||
<param name="instanceContext">The current <see cref="T:System.ServiceModel.InstanceContext"/> object.</param>
|
||||
<param name="message">The message that triggered the creation of a service object.</param>
|
||||
<returns>The service object.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="instanceContext"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacInstanceProvider.ReleaseInstance(System.ServiceModel.InstanceContext,System.Object)">
|
||||
<summary>
|
||||
Called when an <see cref="T:System.ServiceModel.InstanceContext"/> object recycles a service object.
|
||||
</summary>
|
||||
<param name="instanceContext">The service's instance context.</param>
|
||||
<param name="instance">The service object to be recycled.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="instanceContext"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.AutofacServiceHostFactory">
|
||||
<summary>
|
||||
Creates <see cref="T:System.ServiceModel.ServiceHost"/> instances for WCF.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.AutofacHostFactory">
|
||||
<summary>
|
||||
Creates service host instances for WCF.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The Autofac service host factory allows you to change
|
||||
the strategy by which service implementations are resolved. You do this by
|
||||
setting the <see cref="P:Autofac.Integration.Wcf.AutofacHostFactory.ServiceImplementationDataProvider"/>
|
||||
with a strategy implementation.
|
||||
</para>
|
||||
<para>
|
||||
If <see cref="P:Autofac.Integration.Wcf.AutofacHostFactory.ServiceImplementationDataProvider"/>
|
||||
is <see langword="null"/> a new instance of <see cref="T:Autofac.Integration.Wcf.DefaultServiceImplementationDataProvider"/>
|
||||
will be used.
|
||||
</para>
|
||||
<para>
|
||||
You may configure additional behaviors or other aspects of generated
|
||||
service instances by setting the <see cref="P:Autofac.Integration.Wcf.AutofacHostFactory.HostConfigurationAction"/>.
|
||||
If this value is not <see langword="null"/>, generated host instances
|
||||
will be run through that action.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacHostFactory.CreateServiceHost(System.String,System.Uri[])">
|
||||
<summary>
|
||||
Creates a <see cref="T:System.ServiceModel.ServiceHost"/> with specific base addresses and initializes it with specified data.
|
||||
</summary>
|
||||
<param name="constructorString">The initialization data passed to the <see cref="T:System.ServiceModel.ServiceHostBase"/> instance being constructed by the factory.</param>
|
||||
<param name="baseAddresses">The <see cref="T:System.Array"/> of type <see cref="T:System.Uri"/> that contains the base addresses for the service hosted.</param>
|
||||
<returns>
|
||||
A <see cref="T:System.ServiceModel.ServiceHost"/> with specific base addresses.
|
||||
</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="constructorString"/> or <paramref name="baseAddresses"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
Thrown if <paramref name="constructorString"/> is empty.
|
||||
</exception>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
Thrown if the <see cref="P:Autofac.Integration.Wcf.AutofacHostFactory.Container"/>
|
||||
is <see langword="null"/>.
|
||||
</exception>
|
||||
<remarks>
|
||||
<para>
|
||||
If <see cref="P:Autofac.Integration.Wcf.AutofacHostFactory.HostConfigurationAction"/>
|
||||
is not <see langword="null"/>, the new service host instance is run
|
||||
through the configuration action prior to being returned. This allows
|
||||
you to programmatically configure behaviors or other aspects of the
|
||||
host.
|
||||
</para>
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacHostFactory.CreateSingletonServiceHost(System.Object,System.Uri[])">
|
||||
<summary>
|
||||
Creates a <see cref="T:System.ServiceModel.ServiceHost"/> for a specified type of service with a specific base address.
|
||||
</summary>
|
||||
<param name="singletonInstance">Specifies the singleton service instance to host.</param>
|
||||
<param name="baseAddresses">The <see cref="T:System.Array"/> of type <see cref="T:System.Uri"/> that contains the base addresses for the service hosted.</param>
|
||||
<returns>
|
||||
A <see cref="T:System.ServiceModel.ServiceHost"/> for the singleton service instance specified with a specific base address.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactory.Container">
|
||||
<summary>
|
||||
Gets or sets the container or lifetime scope from which service instances will be retrieved.
|
||||
</summary>
|
||||
<value>
|
||||
An <see cref="T:Autofac.ILifetimeScope"/> that will be used to resolve service
|
||||
implementation instances.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactory.HostConfigurationAction">
|
||||
<summary>
|
||||
Gets or sets an action that can be used to programmatically configure
|
||||
service host instances this factory generates.
|
||||
</summary>
|
||||
<value>
|
||||
An <see cref="T:System.Action`1"/> that can be used to configure service host
|
||||
instances that this factory creates. This action can be used to add
|
||||
behaviors or otherwise modify the host before it gets returned by
|
||||
the factory.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactory.ServiceImplementationDataProvider">
|
||||
<summary>
|
||||
Gets or sets the service implementation data strategy.
|
||||
</summary>
|
||||
<value>
|
||||
An <see cref="T:Autofac.Integration.Wcf.IServiceImplementationDataProvider"/>
|
||||
that will be used to determine the proper service implementation given
|
||||
a service constructor string.
|
||||
</value>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacServiceHostFactory.CreateServiceHost(System.Type,System.Uri[])">
|
||||
<summary>
|
||||
Creates a <see cref="T:System.ServiceModel.ServiceHost"/> for a specified type of service with a specific base address.
|
||||
</summary>
|
||||
<param name="serviceType">Specifies the type of service to host.</param>
|
||||
<param name="baseAddresses">The <see cref="T:System.Array"/> of type <see cref="T:System.Uri"/> that contains the base addresses for the service hosted.</param>
|
||||
<returns>
|
||||
A <see cref="T:System.ServiceModel.ServiceHost"/> for the type of service specified with a specific base address.
|
||||
</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="serviceType"/> or <paramref name="baseAddresses"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacServiceHostFactory.CreateSingletonServiceHost(System.Object,System.Uri[])">
|
||||
<summary>
|
||||
Creates a <see cref="T:System.ServiceModel.ServiceHost"/> for a specified type of service with a specific base address.
|
||||
</summary>
|
||||
<param name="singletonInstance">Specifies the singleton service instance to host.</param>
|
||||
<param name="baseAddresses">The <see cref="T:System.Array"/> of type <see cref="T:System.Uri"/> that contains the base addresses for the service hosted.</param>
|
||||
<returns>
|
||||
A <see cref="T:System.ServiceModel.ServiceHost"/> for the singleton service instance specified with a specific base address.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.AutofacHostFactoryResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactoryResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactoryResources.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.Wcf.AutofacHostFactoryResources.ContainerIsNull">
|
||||
<summary>
|
||||
Looks up a localized string similar to The AutofacServiceHost.Container static property must be set before services can be instantiated..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactoryResources.ImplementationTypeUnknown">
|
||||
<summary>
|
||||
Looks up a localized string similar to Service '{0}' is registered in such a way that its implementation type could not be derived. This is required for WCF integration. Consider using a reflection-based registration or an expression-based registration where the return value is a class type. The current default registration is '{1}'..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactoryResources.NoServiceTypeToHost">
|
||||
<summary>
|
||||
Looks up a localized string similar to No type to host was provided by the '{0}' for the service '{1}'..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactoryResources.ServiceMustBeSingleInstance">
|
||||
<summary>
|
||||
Looks up a localized string similar to The WCF service '{0}' has an InstanceContextMode of Single and is not registered as SingleInstance with the Autofac container..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactoryResources.ServiceMustNotBeSingleInstance">
|
||||
<summary>
|
||||
Looks up a localized string similar to The WCF service '{0}' does not have an InstanceContextMode of Single and is registered as SingleInstance with the Autofac container..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.AutofacHostFactoryResources.ServiceNotRegistered">
|
||||
<summary>
|
||||
Looks up a localized string similar to The service '{0}' configured for WCF is not registered with the Autofac container..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.AutofacWebServiceHostFactory">
|
||||
<summary>
|
||||
Creates ServiceHost instances for WCF.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacWebServiceHostFactory.CreateServiceHost(System.Type,System.Uri[])">
|
||||
<summary>
|
||||
Creates a <see cref="T:System.ServiceModel.ServiceHost"/> for a specified type of service with a specific base address.
|
||||
</summary>
|
||||
<param name="serviceType">Specifies the type of service to host.</param>
|
||||
<param name="baseAddresses">The <see cref="T:System.Array"/> of type <see cref="T:System.Uri"/> that contains the base addresses for the service hosted.</param>
|
||||
<returns>
|
||||
A <see cref="T:System.ServiceModel.Web.WebServiceHost"/> for the type of service specified with a specific base address.
|
||||
</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="serviceType"/> or <paramref name="baseAddresses"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.AutofacWebServiceHostFactory.CreateSingletonServiceHost(System.Object,System.Uri[])">
|
||||
<summary>
|
||||
Creates a <see cref="T:System.ServiceModel.ServiceHost"/> for a specified type of service with a specific base address.
|
||||
</summary>
|
||||
<param name="singletonInstance">Specifies the singleton service instance to host.</param>
|
||||
<param name="baseAddresses">The <see cref="T:System.Array"/> of type <see cref="T:System.Uri"/> that contains the base addresses for the service hosted.</param>
|
||||
<returns>
|
||||
A <see cref="T:System.ServiceModel.Web.WebServiceHost"/> for the singleton service instance specified with a specific base address.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.DefaultServiceImplementationDataProvider">
|
||||
<summary>
|
||||
Simple resolver for WCF service implementations. Allows for single-tenant
|
||||
handling of named or typed services.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.IServiceImplementationDataProvider">
|
||||
<summary>
|
||||
Defines a strategy for resolving which service type should be
|
||||
used for hosting vs. which type is the actual service implementation.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.IServiceImplementationDataProvider.GetServiceImplementationData(System.String)">
|
||||
<summary>
|
||||
Gets data about a service implementation.
|
||||
</summary>
|
||||
<param name="value">
|
||||
The constructor string passed in to the service host factory
|
||||
that is used to determine which type to host/use as a service
|
||||
implementation.
|
||||
</param>
|
||||
<returns>
|
||||
A <see cref="T:Autofac.Integration.Wcf.ServiceImplementationData"/>
|
||||
object containing information about which type to use in
|
||||
the service host and how to resolve the implementation.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.DefaultServiceImplementationDataProvider.GetServiceImplementationData(System.String)">
|
||||
<summary>
|
||||
Gets data about a service implementation.
|
||||
</summary>
|
||||
<param name="value">
|
||||
The constructor string passed in to the service host factory
|
||||
that is used to determine which type to host/use as a service
|
||||
implementation.
|
||||
</param>
|
||||
<returns>
|
||||
A <see cref="T:Autofac.Integration.Wcf.ServiceImplementationData"/>
|
||||
object containing information about which type to use in
|
||||
the service host and which type to use to resolve the implementation.
|
||||
</returns>
|
||||
<remarks>
|
||||
<para>
|
||||
This resolver takes the constructor string stored in the .svc file
|
||||
and resolves a matching keyed or typed service from the root
|
||||
application container. That resolved type is used both for the
|
||||
service host as well as the implementation type.
|
||||
</para>
|
||||
</remarks>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
Thrown if the <see cref="P:Autofac.Integration.Wcf.AutofacHostFactory.Container"/>
|
||||
is <see langword="null"/>;
|
||||
if the service indicated by <paramref name="value"/>
|
||||
is not registered with the <see cref="P:Autofac.Integration.Wcf.AutofacHostFactory.Container"/>;
|
||||
or if the service is a singleton that isn't registered as a singleton.
|
||||
</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="value"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
Thrown if <paramref name="value"/> is empty.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.Properties.Resources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.Properties.Resources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.Properties.Resources.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.Wcf.Properties.Resources.ArgumentException_StringEmpty">
|
||||
<summary>
|
||||
Looks up a localized string similar to '{0}' may not be empty..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.RegistrationExtensions">
|
||||
<summary>
|
||||
Extend the registration syntax with WCF-specific helpers.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.RegistrationExtensions.UseWcfSafeRelease``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
||||
<summary>
|
||||
Dispose the channel instance in such a way that exceptions
|
||||
</summary>
|
||||
<typeparam name="TLimit">Registration limit type.</typeparam>
|
||||
<typeparam name="TActivatorData">Activator data type.</typeparam>
|
||||
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
||||
<param name="registration">Registration to set release action for.</param>
|
||||
<returns>Registration builder allowing the registration to be configured.</returns>
|
||||
<remarks>This will eat exceptions generated in the closing of the channel.</remarks>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.ServiceHostExtensions">
|
||||
<summary>
|
||||
Adds dependency injection related methods to service hosts.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.ServiceHostExtensions.AddDependencyInjectionBehavior``1(System.ServiceModel.ServiceHostBase,Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Adds the custom service behavior required for dependency injection.
|
||||
</summary>
|
||||
<typeparam name="T">The web service contract type.</typeparam>
|
||||
<param name="serviceHost">The service host.</param>
|
||||
<param name="container">The container.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Wcf.ServiceHostExtensions.AddDependencyInjectionBehavior(System.ServiceModel.ServiceHostBase,System.Type,Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Adds the custom service behavior required for dependency injection.
|
||||
</summary>
|
||||
<param name="serviceHost">The service host.</param>
|
||||
<param name="contractType">The web service contract type.</param>
|
||||
<param name="container">The container.</param>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.ServiceHostExtensionsResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.ServiceHostExtensionsResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.ServiceHostExtensionsResources.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.Wcf.ServiceHostExtensionsResources.ContractTypeNotRegistered">
|
||||
<summary>
|
||||
Looks up a localized string similar to The service contract type '{0}' has not been registered in the container..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.Wcf.ServiceImplementationData">
|
||||
<summary>
|
||||
Contains data about a WCF service implementation.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
This data transfer object class is used in conjunction with
|
||||
<see cref="T:Autofac.Integration.Wcf.IServiceImplementationDataProvider"/>
|
||||
implementations for resolving service implementation instance information.
|
||||
</para>
|
||||
</remarks>
|
||||
<seealso cref="T:Autofac.Integration.Wcf.IServiceImplementationDataProvider"/>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.ServiceImplementationData.ConstructorString">
|
||||
<summary>
|
||||
Gets or sets the string used to generate the data.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:System.String"/> used to generate this service
|
||||
implementation data.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.ServiceImplementationData.HostAsSingleton">
|
||||
<summary>
|
||||
Gets or sets an indicator of whether the service should be hosted as a singleton.
|
||||
</summary>
|
||||
<value>
|
||||
<see langword="true" /> if this service should be a singleton; <see langword="false" /> if not.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.ServiceImplementationData.ServiceTypeToHost">
|
||||
<summary>
|
||||
Gets or sets the concrete type to host.
|
||||
</summary>
|
||||
<value>
|
||||
A <see cref="T:System.Type"/> that indicates the type to pass to the
|
||||
service host when it is initially created. This type must be a concrete
|
||||
class and not an interface.
|
||||
</value>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.Wcf.ServiceImplementationData.ImplementationResolver">
|
||||
<summary>
|
||||
Gets or sets a mechanism that allows the <see cref="T:Autofac.Integration.Wcf.AutofacInstanceContext"/>
|
||||
to get the actual implementation for a service.
|
||||
</summary>
|
||||
<value>
|
||||
An <see cref="T:System.Func`2"/> that takes in a lifetime scope returns
|
||||
an <see cref="T:System.Object"/> that is the implementation type for the
|
||||
given service. This is the object that the service host will use
|
||||
and should be assignable from the <see cref="P:Autofac.Integration.Wcf.ServiceImplementationData.ServiceTypeToHost"/>.
|
||||
</value>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
Binary file not shown.
@@ -442,7 +442,7 @@
|
||||
Extends registration syntax for common web scenarios.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Web.RegistrationExtensions.InstancePerHttpRequest``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
||||
<member name="M:Autofac.Integration.Web.RegistrationExtensions.InstancePerHttpRequest``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Object[])">
|
||||
<summary>
|
||||
Share one instance of the component within the context of a single
|
||||
HTTP request.
|
||||
@@ -451,6 +451,7 @@
|
||||
<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>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.Web.RegistrationExtensions.CacheInSession``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
||||
|
Binary file not shown.
Binary file not shown.
@@ -1,542 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Autofac.Integration.WebApi</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Autofac.Integration.WebApi.ActionFilterWrapper">
|
||||
<summary>
|
||||
Resolves a filter for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.IAutofacActionFilter">
|
||||
<summary>
|
||||
An action filter that will be created for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacActionFilter.OnActionExecuting(System.Web.Http.Controllers.HttpActionContext)">
|
||||
<summary>
|
||||
Occurs before the action method is invoked.
|
||||
</summary>
|
||||
<param name="actionContext">The context for the action.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacActionFilter.OnActionExecuted(System.Web.Http.Filters.HttpActionExecutedContext)">
|
||||
<summary>
|
||||
Occurs after the action method is invoked.
|
||||
</summary>
|
||||
<param name="actionExecutedContext">The context for the action.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ActionFilterWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.ActionFilterWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ActionFilterWrapper.OnActionExecuting(System.Web.Http.Controllers.HttpActionContext)">
|
||||
<summary>
|
||||
Occurs before the action method is invoked.
|
||||
</summary>
|
||||
<param name="actionContext">The context for the action.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="actionContext"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ActionFilterWrapper.OnActionExecuted(System.Web.Http.Filters.HttpActionExecutedContext)">
|
||||
<summary>
|
||||
Occurs after the action method is invoked.
|
||||
</summary>
|
||||
<param name="actionExecutedContext">The context for the action.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="actionExecutedContext"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AuthorizationFilterWrapper">
|
||||
<summary>
|
||||
Resolves a filter for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.IAutofacAuthorizationFilter">
|
||||
<summary>
|
||||
An authorization filter that will be created for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacAuthorizationFilter.OnAuthorization(System.Web.Http.Controllers.HttpActionContext)">
|
||||
<summary>
|
||||
Called when a process requests authorization.
|
||||
</summary>
|
||||
<param name="actionContext">The context for the action.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AuthorizationFilterWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AuthorizationFilterWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AuthorizationFilterWrapper.OnAuthorization(System.Web.Http.Controllers.HttpActionContext)">
|
||||
<summary>
|
||||
Called when a process requests authorization.
|
||||
</summary>
|
||||
<param name="actionContext">The context for the action.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="actionContext"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver">
|
||||
<summary>
|
||||
Autofac implementation of the <see cref="T:System.Web.Http.Dependencies.IDependencyResolver"/> interface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.ApiRequestTag">
|
||||
<summary>
|
||||
Tag used to identify registrations that are scoped to the API request level.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver"/> class.
|
||||
</summary>
|
||||
<param name="container">The container that nested lifetime scopes will be create from.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.Finalize">
|
||||
<summary>
|
||||
Finalizes an instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.GetService(System.Type)">
|
||||
<summary>
|
||||
Try to get a service of the given type.
|
||||
</summary>
|
||||
<param name="serviceType">Type of service to request.</param>
|
||||
<returns>An instance of the service, or null if the service is not found.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.GetServices(System.Type)">
|
||||
<summary>
|
||||
Try to get a list of services of the given type.
|
||||
</summary>
|
||||
<param name="serviceType">ControllerType of services to request.</param>
|
||||
<returns>An enumeration (possibly empty) of the service.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.BeginScope">
|
||||
<summary>
|
||||
Starts a resolution scope. Objects which are resolved in the given scope will belong to
|
||||
that scope, and when the scope is disposed, those objects are returned to the container.
|
||||
</summary>
|
||||
<returns>
|
||||
The dependency scope.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.Dispose">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AutofacWebApiDependencyResolver.Container">
|
||||
<summary>
|
||||
Gets the root container provided to the dependency resolver.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacWebApiDependencyScope">
|
||||
<summary>
|
||||
Autofac implementation of the <see cref="T:System.Web.Http.Dependencies.IDependencyScope"/> interface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiDependencyScope"/> class.
|
||||
</summary>
|
||||
<param name="lifetimeScope">The lifetime scope to resolve services from.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.Finalize">
|
||||
<summary>
|
||||
Finalizes an instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiDependencyScope"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.GetService(System.Type)">
|
||||
<summary>
|
||||
Try to get a service of the given type.
|
||||
</summary>
|
||||
<param name="serviceType">ControllerType of service to request.</param>
|
||||
<returns>An instance of the service, or null if the service is not found.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.GetServices(System.Type)">
|
||||
<summary>
|
||||
Try to get a list of services of the given type.
|
||||
</summary>
|
||||
<param name="serviceType">ControllerType of services to request.</param>
|
||||
<returns>An enumeration (possibly empty) of the service.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.Dispose">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AutofacWebApiDependencyScope.LifetimeScope">
|
||||
<summary>
|
||||
Gets the lifetime scope for the current dependency scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacWebApiFilterProvider">
|
||||
<summary>
|
||||
A filter provider for performing property injection on filter attributes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiFilterProvider.#ctor(Autofac.ILifetimeScope)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiFilterProvider"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiFilterProvider.GetFilters(System.Web.Http.HttpConfiguration,System.Web.Http.Controllers.HttpActionDescriptor)">
|
||||
<summary>
|
||||
Returns the collection of filters associated with <paramref name="actionDescriptor"/>.
|
||||
</summary>
|
||||
<param name="configuration">The configuration.</param>
|
||||
<param name="actionDescriptor">The action descriptor.</param>
|
||||
<returns>A collection of filters with instances property injected.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="configuration"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacWebApiModelBinderProvider">
|
||||
<summary>
|
||||
Autofac implementation of the <see cref="T:System.Web.Http.ModelBinding.ModelBinderProvider"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Autofac.Integration.WebApi.AutofacWebApiModelBinderProvider.MetadataKey">
|
||||
<summary>
|
||||
Metadata key for the supported model types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacWebApiModelBinderProvider.GetBinder(System.Web.Http.HttpConfiguration,System.Type)">
|
||||
<summary>
|
||||
Find a binder for the given type.
|
||||
</summary>
|
||||
<param name="configuration">A configuration object.</param>
|
||||
<param name="modelType">The type of the model to bind against.</param>
|
||||
<returns>A binder, which can attempt to bind this type. Or null if the binder knows statically that it will never be able to bind the type.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="configuration"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.ControllerTypeKey">
|
||||
<summary>
|
||||
A service key used to register services per controller type.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ControllerTypeKey.#ctor(System.Type)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.ControllerTypeKey"/> class.
|
||||
</summary>
|
||||
<param name="controllerType">Type of the controller.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ControllerTypeKey.Equals(Autofac.Integration.WebApi.ControllerTypeKey)">
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" />.
|
||||
</summary>
|
||||
<param name="other"></param>
|
||||
<returns>
|
||||
true if the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Object" />; otherwise, false.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ControllerTypeKey.Equals(System.Object)">
|
||||
<summary>
|
||||
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>.
|
||||
</summary>
|
||||
<param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:System.Object"/>.</param>
|
||||
<returns>
|
||||
true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>; otherwise, false.
|
||||
</returns>
|
||||
<exception cref="T:System.NullReferenceException">The <paramref name="obj"/> parameter is null.</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ControllerTypeKey.GetHashCode">
|
||||
<summary>
|
||||
Serves as a hash function for a particular type.
|
||||
</summary>
|
||||
<returns>
|
||||
A hash code for the current <see cref="T:System.Object"/>.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.ControllerTypeKey.ControllerType">
|
||||
<summary>
|
||||
Gets the type of the controller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.DependencyResolverExtensions">
|
||||
<summary>
|
||||
Extension methods to the <see cref="T:System.Web.Http.Dependencies.IDependencyResolver"/> interface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.DependencyResolverExtensions.GetRootLifetimeScope(System.Web.Http.Dependencies.IDependencyResolver)">
|
||||
<summary>
|
||||
Gets the root lifetime scope from the Autofac dependency resolver.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.DependencyResolverExtensions.GetRequestLifetimeScope(System.Web.Http.Dependencies.IDependencyScope)">
|
||||
<summary>
|
||||
Gets the request lifetime scope from the Autofac dependency scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.ExceptionFilterWrapper">
|
||||
<summary>
|
||||
Resolves a filter for the specified metadata for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.IAutofacExceptionFilter">
|
||||
<summary>
|
||||
An exception filter that will be created for each controller request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.IAutofacExceptionFilter.OnException(System.Web.Http.Filters.HttpActionExecutedContext)">
|
||||
<summary>
|
||||
Called when an exception is thrown.
|
||||
</summary>
|
||||
<param name="actionExecutedContext">The context for the action.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ExceptionFilterWrapper.#ctor(Autofac.Integration.WebApi.FilterMetadata)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:Autofac.Integration.WebApi.ExceptionFilterWrapper"/> class.
|
||||
</summary>
|
||||
<param name="filterMetadata">The filter metadata.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.ExceptionFilterWrapper.OnException(System.Web.Http.Filters.HttpActionExecutedContext)">
|
||||
<summary>
|
||||
Called when an exception is thrown.
|
||||
</summary>
|
||||
<param name="actionExecutedContext">The context for the action.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="actionExecutedContext"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.FilterMetadata">
|
||||
<summary>
|
||||
Metadata interface for filter registrations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.FilterMetadata.ControllerType">
|
||||
<summary>
|
||||
Gets the type of the controller.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.FilterMetadata.FilterScope">
|
||||
<summary>
|
||||
Gets the filter scope.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.FilterMetadata.MethodInfo">
|
||||
<summary>
|
||||
Gets the method info.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacControllerConfigurationAttribute">
|
||||
<summary>
|
||||
Configures the controller descriptor with per-controller services from the container.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.AutofacControllerConfigurationAttribute.Initialize(System.Web.Http.Controllers.HttpControllerSettings,System.Web.Http.Controllers.HttpControllerDescriptor)">
|
||||
<summary>
|
||||
Callback invoked to set per-controller overrides for this controllerDescriptor.
|
||||
</summary>
|
||||
<param name="controllerSettings">The controller settings to initialize.</param>
|
||||
<param name="controllerDescriptor">The controller descriptor. Note that the
|
||||
<see cref="T:System.Web.Http.Controllers.HttpControllerDescriptor"/> can be
|
||||
associated with the derived controller type given that <see cref="T:System.Web.Http.Controllers.IControllerConfiguration"/>
|
||||
is inherited.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="controllerSettings"/> or <paramref name="controllerDescriptor"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.AutofacControllerConfigurationAttributeResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AutofacControllerConfigurationAttributeResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.AutofacControllerConfigurationAttributeResources.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.WebApi.AutofacControllerConfigurationAttributeResources.DependencyResolverMissing">
|
||||
<summary>
|
||||
Looks up a localized string similar to The '{0}' must be configured as the dependency resolver for Web API before the '{1}' can resolve services from the container for a controller type..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.RegistrationExtensions">
|
||||
<summary>
|
||||
Adds registration syntax to the <see cref="T:Autofac.ContainerBuilder"/> type.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterApiControllers(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
Register types that implement <see cref="T:System.Web.Http.Controllers.IHttpController"/> in the provided assemblies.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="controllerAssemblies">Assemblies to scan for controllers.</param>
|
||||
<returns>Registration builder allowing the controller components to be customised.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.InstancePerApiRequest``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
||||
<summary>
|
||||
Share one instance of the component within the context of a
|
||||
single <see cref="T:System.Web.Http.ApiController"/> 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.WebApi.RegistrationExtensions.InstancePerApiControllerType``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type)">
|
||||
<summary>
|
||||
Share one instance of the component within the context of a controller type.
|
||||
</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="controllerType">The controller type.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.InstancePerApiControllerType``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type,System.Boolean)">
|
||||
<summary>
|
||||
Share one instance of the component within the context of a controller type.
|
||||
</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="controllerType">The controller type.</param>
|
||||
<param name="clearExistingServices">Clear the existing list of controller level services before adding.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterWebApiModelBinderProvider(Autofac.ContainerBuilder)">
|
||||
<summary>
|
||||
Registers the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiModelBinderProvider"/>.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterWebApiModelBinders(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
|
||||
<summary>
|
||||
Register types that implement <see cref="T:System.Web.Http.ModelBinding.IModelBinder"/> in the provided assemblies.
|
||||
</summary>
|
||||
<param name="builder">The container builder.</param>
|
||||
<param name="modelBinderAssemblies">Assemblies to scan for model binders.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="builder"/> or <paramref name="modelBinderAssemblies"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsModelBinderForTypes``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type[])">
|
||||
<summary>
|
||||
Sets a provided registration to act as an <see cref="T:System.Web.Http.ModelBinding.IModelBinder"/> for the specified list of types.
|
||||
</summary>
|
||||
<param name="registration">The registration for the type or object instance that will act as the model binder.</param>
|
||||
<param name="types">The list of model <see cref="T:System.Type"/> for which the <paramref name="registration"/> should be a model binder.</param>
|
||||
<typeparam name="TLimit">Registration limit type.</typeparam>
|
||||
<typeparam name="TActivatorData">Activator data type.</typeparam>
|
||||
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
||||
<returns>An Autofac registration that can be modified as needed.</returns>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="registration"/> or <paramref name="types"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
<exception cref="T:System.ArgumentException">
|
||||
Thrown if <paramref name="types"/> is empty or contains all <see langword="null"/> values.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.RegisterWebApiFilterProvider(Autofac.ContainerBuilder,System.Web.Http.HttpConfiguration)">
|
||||
<summary>
|
||||
Registers the <see cref="T:Autofac.Integration.WebApi.AutofacWebApiFilterProvider"/>.
|
||||
</summary>
|
||||
<param name="configuration">Configuration of HttpServer instances.</param>
|
||||
<param name="builder">The container builder.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
Thrown if <paramref name="builder"/> or <paramref name="configuration"/> is <see langword="null"/>.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiActionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacActionFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiActionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacActionFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthorizationFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthorizationFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiAuthorizationFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacAuthorizationFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiExceptionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle},System.Linq.Expressions.Expression{System.Action{``0}})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacExceptionFilter"/> for the specified controller action.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<param name="actionSelector">The action selector.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="M:Autofac.Integration.WebApi.RegistrationExtensions.AsWebApiExceptionFilterFor``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Builder.IConcreteActivatorData,Autofac.Builder.SingleRegistrationStyle})">
|
||||
<summary>
|
||||
Sets the provided registration to act as an <see cref="T:Autofac.Integration.WebApi.IAutofacExceptionFilter"/> for the specified controller.
|
||||
</summary>
|
||||
<typeparam name="TController">The type of the controller.</typeparam>
|
||||
<param name="registration">The registration.</param>
|
||||
<returns>A registration builder allowing further configuration of the component.</returns>
|
||||
</member>
|
||||
<member name="T:Autofac.Integration.WebApi.RegistrationExtensionsResources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.RegistrationExtensionsResources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.RegistrationExtensionsResources.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.WebApi.RegistrationExtensionsResources.InvalidActionExpress">
|
||||
<summary>
|
||||
Looks up a localized string similar to The action method Expression is invalid. It should consist only of a Method call to a controller action method..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.RegistrationExtensionsResources.ListMustNotBeEmptyOrContainNulls">
|
||||
<summary>
|
||||
Looks up a localized string similar to Type list may not be empty or contain all null values..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Autofac.Integration.WebApi.RegistrationExtensionsResources.MustBeAssignableToFilterType">
|
||||
<summary>
|
||||
Looks up a localized string similar to The type '{0}' must be assignable to '{1}'..
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@@ -158,6 +158,57 @@
|
||||
Looks up a localized string similar to {0} ---> {1} (See inner exception for details.).
|
||||
</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<T, TMetadata></c>
|
||||
@@ -311,6 +362,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.
|
||||
@@ -2502,6 +2703,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.
|
||||
@@ -4094,6 +4304,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 +4857,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.
|
||||
@@ -5448,6 +5650,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 +6022,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 +6859,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 '{0}' 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<T>and Custom Delegates).
|
||||
|
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user