mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
4899 lines
270 KiB
XML
4899 lines
270 KiB
XML
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>Autofac</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="T:Autofac.Builder.ConcreteReflectionActivatorData">
|
|
<summary>
|
|
Reflection activator data for concrete types.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.ReflectionActivatorData">
|
|
<summary>
|
|
Builder for reflection-based activators.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Builder.ReflectionActivatorData.#ctor(System.Type)">
|
|
<summary>
|
|
Specify a reflection activator for the given type.
|
|
</summary>
|
|
<param name="implementor">Type that will be activated.</param>
|
|
</member>
|
|
<member name="P:Autofac.Builder.ReflectionActivatorData.ImplementationType">
|
|
<summary>
|
|
Get the implementation type.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.ReflectionActivatorData.ConstructorFinder">
|
|
<summary>
|
|
The constructor finder for the registration.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.ReflectionActivatorData.ConstructorSelector">
|
|
<summary>
|
|
The constructor selector for the registration.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.ReflectionActivatorData.ConfiguredParameters">
|
|
<summary>
|
|
The explicitly bound constructor parameters.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.ReflectionActivatorData.ConfiguredProperties">
|
|
<summary>
|
|
The explicitly bound properties.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.IConcreteActivatorData">
|
|
<summary>
|
|
Activator data that can provide an IInstanceActivator instance.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.IConcreteActivatorData.Activator">
|
|
<summary>
|
|
The instance activator based on the provided data.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Builder.ConcreteReflectionActivatorData.#ctor(System.Type)">
|
|
<summary>
|
|
Specify a reflection activator for the given type.
|
|
</summary>
|
|
<param name="implementor">Type that will be activated.</param>
|
|
</member>
|
|
<member name="P:Autofac.Builder.ConcreteReflectionActivatorData.Activator">
|
|
<summary>
|
|
The instance activator based on the provided data.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.IRegistrationBuilder`3">
|
|
<summary>
|
|
Data structure used to construct registrations.
|
|
</summary>
|
|
<typeparam name="TLimit">The most specific type to which instances of the registration
|
|
can be cast.</typeparam>
|
|
<typeparam name="TActivatorData">Activator builder type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style type.</typeparam>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.ExternallyOwned">
|
|
<summary>
|
|
Configure the component so that instances are never disposed by the container.
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.OwnedByLifetimeScope">
|
|
<summary>
|
|
Configure the component so that instances that support IDisposable are
|
|
disposed by the container (default.)
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.InstancePerDependency">
|
|
<summary>
|
|
Configure the component so that every dependent component or call to Resolve()
|
|
gets a new, unique instance (default.)
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.SingleInstance">
|
|
<summary>
|
|
Configure the component so that every dependent component or call to Resolve()
|
|
gets the same, shared instance.
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.InstancePerLifetimeScope">
|
|
<summary>
|
|
Configure the component so that every dependent component or call to Resolve()
|
|
within a single ILifetimeScope gets the same, shared instance. Dependent components in
|
|
different lifetime scopes will get different instances.
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.InstancePerMatchingLifetimeScope(System.Object)">
|
|
<summary>
|
|
Configure the component so that every dependent component or call to Resolve()
|
|
within a ILifetimeScope tagged with the provided tag value gets the same, shared instance.
|
|
Dependent components in lifetime scopes that are children of the tagged scope will
|
|
share the parent's instance. If no appropriately tagged scope can be found in the
|
|
hierarchy an <see cref="T:Autofac.Core.DependencyResolutionException"/> is thrown.
|
|
</summary>
|
|
<param name="lifetimeScopeTag">Tag applied to matching lifetime scopes.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.As``1">
|
|
<summary>
|
|
Configure the services that the component will provide. The generic parameter(s) to As()
|
|
will be exposed as TypedService instances.
|
|
</summary>
|
|
<typeparam name="TService">Service type.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.As``2">
|
|
<summary>
|
|
Configure the services that the component will provide. The generic parameter(s) to As()
|
|
will be exposed as TypedService instances.
|
|
</summary>
|
|
<typeparam name="TService1">Service type.</typeparam>
|
|
<typeparam name="TService2">Service type.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.As``3">
|
|
<summary>
|
|
Configure the services that the component will provide. The generic parameter(s) to As()
|
|
will be exposed as TypedService instances.
|
|
</summary>
|
|
<typeparam name="TService1">Service type.</typeparam>
|
|
<typeparam name="TService2">Service type.</typeparam>
|
|
<typeparam name="TService3">Service type.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.As(System.Type[])">
|
|
<summary>
|
|
Configure the services that the component will provide.
|
|
</summary>
|
|
<param name="services">Service types to expose.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.As(Autofac.Core.Service[])">
|
|
<summary>
|
|
Configure the services that the component will provide.
|
|
</summary>
|
|
<param name="services">Services to expose.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.Named(System.String,System.Type)">
|
|
<summary>
|
|
Provide a textual name that can be used to retrieve the component.
|
|
</summary>
|
|
<param name="serviceName">Named service to associate with the component.</param>
|
|
<param name="serviceType">The service type provided by the component.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.Named``1(System.String)">
|
|
<summary>
|
|
Provide a textual name that can be used to retrieve the component.
|
|
</summary>
|
|
<param name="serviceName">Named service to associate with the component.</param>
|
|
<typeparam name="TService">The service type provided by the component.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.Keyed(System.Object,System.Type)">
|
|
<summary>
|
|
Provide a key that can be used to retrieve the component.
|
|
</summary>
|
|
<param name="serviceKey">Key to associate with the component.</param>
|
|
<param name="serviceType">The service type provided by the component.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.Keyed``1(System.Object)">
|
|
<summary>
|
|
Provide a key that can be used to retrieve the component.
|
|
</summary>
|
|
<param name="serviceKey">Key to associate with the component.</param>
|
|
<typeparam name="TService">The service type provided by the component.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.OnPreparing(System.Action{Autofac.Core.PreparingEventArgs})">
|
|
<summary>
|
|
Add a handler for the Preparing event. This event allows manipulating of the parameters
|
|
that will be provided to the component.
|
|
</summary>
|
|
<param name="handler">The event handler.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.OnActivating(System.Action{Autofac.Core.IActivatingEventArgs{`0}})">
|
|
<summary>
|
|
Add a handler for the Activating event.
|
|
</summary>
|
|
<param name="handler">The event handler.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.OnActivated(System.Action{Autofac.Core.IActivatedEventArgs{`0}})">
|
|
<summary>
|
|
Add a handler for the Activated event.
|
|
</summary>
|
|
<param name="handler">The event handler.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.PropertiesAutowired">
|
|
<summary>
|
|
Configure the component so that any properties whose types are registered in the
|
|
container will be wired to instances of the appropriate service.
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.PropertiesAutowired(System.Boolean)">
|
|
<summary>
|
|
Configure the component so that any properties whose types are registered in the
|
|
container will be wired to instances of the appropriate service.
|
|
</summary>
|
|
<param name="allowCircularDependencies">If set to true, the properties won't be wired until
|
|
after the component has been activated. This allows property-property and constructor-property
|
|
circularities in the dependency graph.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.WithMetadata(System.String,System.Object)">
|
|
<summary>
|
|
Associates data with the component.
|
|
</summary>
|
|
<param name="key">Key by which the data can be located.</param>
|
|
<param name="value">The data value.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.WithMetadata(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}})">
|
|
<summary>
|
|
Associates data with the component.
|
|
</summary>
|
|
<param name="properties">The extended properties to associate with the component.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IRegistrationBuilder`3.WithMetadata``1(System.Action{Autofac.Builder.MetadataConfiguration{``0}})">
|
|
<summary>
|
|
Associates data with the component.
|
|
</summary>
|
|
<typeparam name="TMetadata">A type with properties whose names correspond to the
|
|
property names to configure.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Builder.IRegistrationBuilder`3.ActivatorData">
|
|
<summary>
|
|
The activator data.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.IRegistrationBuilder`3.RegistrationStyle">
|
|
<summary>
|
|
The registration style.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.IRegistrationBuilder`3.RegistrationData">
|
|
<summary>
|
|
The registration data.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.MetadataConfiguration`1">
|
|
<summary>
|
|
Used with the WithMetadata configuration method to
|
|
associate key-value pairs with an <see cref="T:Autofac.Core.IComponentRegistration"/>.
|
|
</summary>
|
|
<typeparam name="TMetadata">Interface with properties whose names correspond to
|
|
the property keys.</typeparam>
|
|
<remarks>This feature was suggested by OJ Reeves (@TheColonial).</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Builder.MetadataConfiguration`1.For``1(System.Linq.Expressions.Expression{System.Func{`0,``0}},``0)">
|
|
<summary>
|
|
Set one of the property values.
|
|
</summary>
|
|
<typeparam name="TProperty">The type of the property.</typeparam>
|
|
<param name="propertyAccessor">An expression that accesses the property to set.</param>
|
|
<param name="value">The property value to set.</param>
|
|
</member>
|
|
<member name="T:Autofac.Builder.RegistrationBuilder">
|
|
<summary>
|
|
Static factory methods to simplify the creation and handling of IRegistrationBuilder{L,A,R}.
|
|
</summary>
|
|
<example>
|
|
To create an <see cref="T:Autofac.Core.IComponentRegistration"/> for a specific type, use:
|
|
<code>
|
|
var rb = IRegistrationBuilder.ForType(t).Named("foo").ExternallyOwned();
|
|
var cr = IRegistrationBuilder.CreateRegistration(rb);
|
|
</code>
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder.ForDelegate``1(System.Func{Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},``0})">
|
|
<summary>
|
|
Creates a registration builder for the provided delegate.
|
|
</summary>
|
|
<typeparam name="T">Instance type returned by delegate.</typeparam>
|
|
<param name="delegate">Delegate to register.</param>
|
|
<returns>A registration builder.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder.ForDelegate(System.Type,System.Func{Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Object})">
|
|
<summary>
|
|
Creates a registration builder for the provided delegate.
|
|
</summary>
|
|
<param name="delegate">Delegate to register.</param>
|
|
<param name="limitType">Most specific type return value of delegate can be cast to.</param>
|
|
<returns>A registration builder.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder.ForType``1">
|
|
<summary>
|
|
Creates a registration builder for the provided type.
|
|
</summary>
|
|
<typeparam name="TImplementor">Implementation type to register.</typeparam>
|
|
<returns>A registration builder.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder.ForType(System.Type)">
|
|
<summary>
|
|
Creates a registration builder for the provided type.
|
|
</summary>
|
|
<param name="implementationType">Implementation type to register.</param>
|
|
<returns>A registration builder.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder.CreateRegistration``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
|
<summary>
|
|
Create an <see cref="T:Autofac.Core.IComponentRegistration"/> from a <see cref="T:Autofac.Builder.RegistrationBuilder"/>.
|
|
(There is no need to call
|
|
this method when registering components through a <see cref="T:Autofac.ContainerBuilder"/>.)
|
|
</summary>
|
|
<remarks>
|
|
When called on the result of one of the <see cref="T:Autofac.ContainerBuilder"/> methods,
|
|
the returned registration will be different from the one the builder itself registers
|
|
in the container.
|
|
</remarks>
|
|
<example>
|
|
<code>
|
|
var registration = IRegistrationBuilder.ForType<Foo>().CreateRegistration();
|
|
</code>
|
|
</example>
|
|
<typeparam name="TLimit"></typeparam>
|
|
<typeparam name="TActivatorData"></typeparam>
|
|
<typeparam name="TSingleRegistrationStyle"></typeparam>
|
|
<param name="rb">The registration builder.</param>
|
|
<returns>An IComponentRegistration.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder.CreateRegistration(System.Guid,Autofac.Builder.RegistrationData,Autofac.Core.IInstanceActivator,System.Collections.Generic.IEnumerable{Autofac.Core.Service})">
|
|
<summary>
|
|
Create an IComponentRegistration from data.
|
|
</summary>
|
|
<param name="id">Id of the registration.</param>
|
|
<param name="data">Registration data.</param>
|
|
<param name="activator">Activator.</param>
|
|
<param name="services">Services provided by the registration.</param>
|
|
<returns>An IComponentRegistration.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder.CreateRegistration(System.Guid,Autofac.Builder.RegistrationData,Autofac.Core.IInstanceActivator,System.Collections.Generic.IEnumerable{Autofac.Core.Service},Autofac.Core.IComponentRegistration)">
|
|
<summary>
|
|
Create an IComponentRegistration from data.
|
|
</summary>
|
|
<param name="id">Id of the registration.</param>
|
|
<param name="data">Registration data.</param>
|
|
<param name="activator">Activator.</param>
|
|
<param name="services">Services provided by the registration.</param>
|
|
<param name="target">Optional; target registration.</param>
|
|
<returns>An IComponentRegistration.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder.RegisterSingleComponent``3(Autofac.Core.IComponentRegistry,Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
|
<summary>
|
|
Register a component in the component registry. This helper method is necessary
|
|
in order to execute OnRegistered hooks and respect PreserveDefaults.
|
|
</summary>
|
|
<remarks>Hoping to refactor this out.</remarks>
|
|
<typeparam name="TLimit"></typeparam>
|
|
<typeparam name="TActivatorData"></typeparam>
|
|
<typeparam name="TSingleRegistrationStyle"></typeparam>
|
|
<param name="cr">Component registry to make registration in.</param>
|
|
<param name="rb">Registration builder with data for new registration.</param>
|
|
</member>
|
|
<member name="T:Autofac.Builder.RegistrationBuilderResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationBuilderResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationBuilderResources.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.Builder.RegistrationBuilderResources.ComponentDoesNotSupportService">
|
|
<summary>
|
|
Looks up a localized string similar to The type '{0}' is not assignable to service '{1}'..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.RegistrationExtensions">
|
|
<summary>
|
|
Adds registration syntax for less commonly-used features.
|
|
</summary>
|
|
<remarks>
|
|
These features are in this namespace because they will remain accessible to
|
|
applications originally written against Autofac 1.4. In Autofac 2, this functionality
|
|
is implicitly provided and thus making explicit registrations is rarely necessary.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.RegisterGeneratedFactory(Autofac.ContainerBuilder,System.Type)">
|
|
<summary>
|
|
Registers a factory delegate.
|
|
</summary>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="delegateType">Factory type to generate.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
<remarks>Factory delegates are provided automatically in Autofac 2,
|
|
and this method is generally not required.</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.RegisterGeneratedFactory(Autofac.ContainerBuilder,System.Type,Autofac.Core.Service)">
|
|
<summary>
|
|
Registers a factory delegate.
|
|
</summary>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="delegateType">Factory type to generate.</param>
|
|
<param name="service">The service that the delegate will return instances of.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
<remarks>Factory delegates are provided automatically in Autofac 2, and
|
|
this method is generally not required.</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.RegisterGeneratedFactory``1(Autofac.ContainerBuilder,Autofac.Core.Service)">
|
|
<summary>
|
|
Registers a factory delegate.
|
|
</summary>
|
|
<typeparam name="TDelegate">The type of the delegate.</typeparam>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="service">The service that the delegate will return instances of.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
<remarks>Factory delegates are provided automatically in Autofac 2,
|
|
and this method is generally not required.</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.RegisterGeneratedFactory``1(Autofac.ContainerBuilder)">
|
|
<summary>
|
|
Registers a factory delegate.
|
|
</summary>
|
|
<typeparam name="TDelegate">The type of the delegate.</typeparam>
|
|
<param name="builder">Container builder.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
<remarks>Factory delegates are provided automatically in Autofac 2,
|
|
and this method is generally not required.</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.NamedParameterMapping``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
|
<summary>
|
|
Changes the parameter mapping mode of the supplied delegate type to match
|
|
parameters by name.
|
|
</summary>
|
|
<typeparam name="TDelegate">Factory delegate type</typeparam>
|
|
<typeparam name="TGeneratedFactoryActivatorData">Activator data type</typeparam>
|
|
<typeparam name="TSingleRegistrationStyle">Registration style</typeparam>
|
|
<param name="registration">Registration to change parameter mapping mode of.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.PositionalParameterMapping``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
|
<summary>
|
|
Changes the parameter mapping mode of the supplied delegate type to match
|
|
parameters by position.
|
|
</summary>
|
|
<typeparam name="TDelegate">Factory delegate type</typeparam>
|
|
<typeparam name="TGeneratedFactoryActivatorData">Activator data type</typeparam>
|
|
<typeparam name="TSingleRegistrationStyle">Registration style</typeparam>
|
|
<param name="registration">Registration to change parameter mapping mode of.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.TypedParameterMapping``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
|
<summary>
|
|
Changes the parameter mapping mode of the supplied delegate type to match
|
|
parameters by type.
|
|
</summary>
|
|
<typeparam name="TDelegate">Factory delegate type</typeparam>
|
|
<typeparam name="TGeneratedFactoryActivatorData">Activator data type</typeparam>
|
|
<typeparam name="TSingleRegistrationStyle">Registration style</typeparam>
|
|
<param name="registration">Registration to change parameter mapping mode of.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.RegisterCollection(Autofac.ContainerBuilder,System.String,System.Type)">
|
|
<summary>
|
|
Registers the type as a collection. If no services or names are specified, the
|
|
default services will be IList<T>, ICollection<T>, and IEnumerable<T>
|
|
</summary>
|
|
<param name="elementType">The type of the collection elements.</param>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="collectionName">A unique name for the collection that can be passed to MemberOf().</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
<remarks>Collections are provided automatically in Autofac 2,
|
|
and this method is generally not required.</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.RegisterCollection``1(Autofac.ContainerBuilder,System.String)">
|
|
<summary>
|
|
Registers the type as a collection. If no services or names are specified, the
|
|
default services will be IList<T>, ICollection<T>, and IEnumerable<T>
|
|
</summary>
|
|
<typeparam name="T">The type of the collection elements.</typeparam>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="collectionName">A unique name for the collection that can be passed to MemberOf().</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
<remarks>Collections are provided automatically in Autofac 2,
|
|
and this method is generally not required.</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationExtensions.MemberOf``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.String)">
|
|
<summary>
|
|
Include the element explicitly in a collection configured using RegisterCollection.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TSingleRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to export.</param>
|
|
<param name="collectionName">The collection name, as passed to RegisterCollection.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Delegate.DelegateActivatorResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Delegate.DelegateActivatorResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Delegate.DelegateActivatorResources.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.Core.Activators.Delegate.DelegateActivatorResources.NullFromActivationDelegateFor">
|
|
<summary>
|
|
Looks up a localized string similar to A delegate registered to create instances of '{0}' returned null..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.ConstructorParameterBindingResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ConstructorParameterBindingResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ConstructorParameterBindingResources.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.Core.Activators.Reflection.ConstructorParameterBindingResources.BoundConstructor">
|
|
<summary>
|
|
Looks up a localized string similar to Bound constructor '{0}'..
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ConstructorParameterBindingResources.NonBindableConstructor">
|
|
<summary>
|
|
Looks up a localized string similar to Constructor '{0}' parameter resolution failed at parameter '{1}'..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.DefaultValueParameter">
|
|
<summary>
|
|
Provides parameters that have a default value, set with an optional parameter
|
|
declaration in C# or VB.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Parameter">
|
|
<summary>
|
|
Used in order to provide a value to a constructor parameter or property on an instance
|
|
being created by the container.
|
|
</summary>
|
|
<remarks>
|
|
Not all parameters can be applied to all sites.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Core.Parameter.CanSupplyValue(System.Reflection.ParameterInfo,Autofac.IComponentContext,System.Func{System.Object}@)">
|
|
<summary>
|
|
Returns true if the parameter is able to provide a value to a particular site.
|
|
</summary>
|
|
<param name="pi">Constructor, method, or property-mutator parameter.</param>
|
|
<param name="context">The component context in which the value is being provided.</param>
|
|
<param name="valueProvider">If the result is true, the valueProvider parameter will
|
|
be set to a function that will lazily retrieve the parameter value. If the result is false,
|
|
will be set to null.</param>
|
|
<returns>True if a value can be supplied; otherwise, false.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.DefaultValueParameter.CanSupplyValue(System.Reflection.ParameterInfo,Autofac.IComponentContext,System.Func{System.Object}@)">
|
|
<summary>
|
|
Returns true if the parameter is able to provide a value to a particular site.
|
|
</summary>
|
|
<param name="pi">Constructor, method, or property-mutator parameter.</param>
|
|
<param name="context">The component context in which the value is being provided.</param>
|
|
<param name="valueProvider">If the result is true, the valueProvider parameter will
|
|
be set to a function that will lazily retrieve the parameter value. If the result is false,
|
|
will be set to null.</param>
|
|
<returns>True if a value can be supplied; otherwise, false.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.IActivatedEventArgs`1">
|
|
<summary>
|
|
Fired when the activation process for a new instance is complete.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IActivatedEventArgs`1.Context">
|
|
<summary>
|
|
The context in which the activation occurred.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IActivatedEventArgs`1.Component">
|
|
<summary>
|
|
The component providing the instance.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IActivatedEventArgs`1.Parameters">
|
|
<summary>
|
|
The paramters provided when resolved.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IActivatedEventArgs`1.Instance">
|
|
<summary>
|
|
The instance that will be used to satisfy the request.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.IActivatingEventArgs`1">
|
|
<summary>
|
|
Fired after the construction of an instance but before that instance
|
|
is shared with any other or any members are invoked on it.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.IActivatingEventArgs`1.ReplaceInstance(System.Object)">
|
|
<summary>
|
|
The instance can be replaced if needed, e.g. by an interface proxy.
|
|
</summary>
|
|
<param name="instance">The object to use instead of the activated instance.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.IActivatingEventArgs`1.Context">
|
|
<summary>
|
|
The context in which the activation occurred.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IActivatingEventArgs`1.Component">
|
|
<summary>
|
|
The component providing the instance.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IActivatingEventArgs`1.Instance">
|
|
<summary>
|
|
The instance that will be used to satisfy the request.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IActivatingEventArgs`1.Parameters">
|
|
<summary>
|
|
The parameters supplied to the activator.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.IServiceWithType">
|
|
<summary>
|
|
Interface supported by services that carry type information.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.IServiceWithType.ChangeType(System.Type)">
|
|
<summary>
|
|
Return a new service of the same kind, but carrying
|
|
<paramref name="newType"/> as the <see cref="P:Autofac.Core.IServiceWithType.ServiceType"/>.
|
|
</summary>
|
|
<param name="newType">The new service type.</param>
|
|
<returns>A new service with the service type.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.IServiceWithType.ServiceType">
|
|
<summary>
|
|
Gets the type of the service.
|
|
</summary>
|
|
<value>The type of the service.</value>
|
|
</member>
|
|
<member name="T:Autofac.Core.KeyedService">
|
|
<summary>
|
|
Identifies a service using a key in addition to its type.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Service">
|
|
<summary>
|
|
Services are the lookup keys used to locate component instances.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Service.ToString">
|
|
<summary>
|
|
Returns a <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
|
|
</summary>
|
|
<returns>
|
|
A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Service.op_Equality(Autofac.Core.Service,Autofac.Core.Service)">
|
|
<summary>
|
|
Implements the operator ==.
|
|
</summary>
|
|
<param name="lhs">The LHS.</param>
|
|
<param name="rhs">The RHS.</param>
|
|
<returns>The result of the operator.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Service.op_Inequality(Autofac.Core.Service,Autofac.Core.Service)">
|
|
<summary>
|
|
Implements the operator !=.
|
|
</summary>
|
|
<param name="lhs">The LHS.</param>
|
|
<param name="rhs">The RHS.</param>
|
|
<returns>The result of the operator.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Service.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.Core.Service.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.Core.Service.Description">
|
|
<summary>
|
|
Gets a human-readable description of the service.
|
|
</summary>
|
|
<value>The description.</value>
|
|
</member>
|
|
<member name="M:Autofac.Core.KeyedService.#ctor(System.Object,System.Type)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.KeyedService"/> class.
|
|
</summary>
|
|
<param name="serviceKey">Key of the service.</param>
|
|
<param name="serviceType">Type of the service.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.KeyedService.Equals(System.Object)">
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>.
|
|
</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.Core.KeyedService.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="M:Autofac.Core.KeyedService.ChangeType(System.Type)">
|
|
<summary>
|
|
Return a new service of the same kind, but carrying
|
|
<paramref name="newType"/> as the <see cref="P:Autofac.Core.KeyedService.ServiceType"/>.
|
|
</summary>
|
|
<param name="newType">The new service type.</param>
|
|
<returns>A new service with the service type.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.KeyedService.ServiceKey">
|
|
<summary>
|
|
Gets or sets the key of the service.
|
|
</summary>
|
|
<value>The key of the service.</value>
|
|
</member>
|
|
<member name="P:Autofac.Core.KeyedService.ServiceType">
|
|
<summary>
|
|
Gets the type of the service.
|
|
</summary>
|
|
<value>The type of the service.</value>
|
|
</member>
|
|
<member name="P:Autofac.Core.KeyedService.Description">
|
|
<summary>
|
|
Gets a human-readable description of the service.
|
|
</summary>
|
|
<value>The description.</value>
|
|
</member>
|
|
<member name="T:Autofac.Core.Registration.ComponentRegistrationResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistrationResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistrationResources.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.Core.Registration.ComponentRegistrationResources.ToStringFormat">
|
|
<summary>
|
|
Looks up a localized string similar to Activator = {0}, Services = [{1}], Lifetime = {2}, Sharing = {3}, Ownership = {4}.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Registration.ExternalRegistrySource">
|
|
<summary>
|
|
Pulls registrations from another component registry.
|
|
Excludes most auto-generated registrations - currently has issues with
|
|
collection registrations.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.IRegistrationSource">
|
|
<summary>
|
|
Allows registrations to be made on-the-fly when unregistered
|
|
services are requested (lazy registrations.)
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.IRegistrationSource.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="M:Autofac.Core.Registration.ExternalRegistrySource.#ctor(Autofac.Core.IComponentRegistry)">
|
|
<summary>
|
|
Create an external registry source that draws components from
|
|
<paramref name="registry"/>.
|
|
</summary>
|
|
<param name="registry">Component registry to pull registrations from.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ExternalRegistrySource.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="T:Autofac.Features.Collections.CollectionRegistrationExtensions">
|
|
<summary>
|
|
Internal implementation of the RegisterCollection/MemberOf-style collection feature.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.DynamicRegistrationStyle">
|
|
<summary>
|
|
Registration style for dynamic registrations.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Features.GeneratedFactories.GeneratedFactoryActivatorData">
|
|
<summary>
|
|
Data used to create factory activators.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Features.GeneratedFactories.GeneratedFactoryActivatorData.#ctor(System.Type,Autofac.Core.Service)">
|
|
<summary>
|
|
Create a new GeneratedFactoryActivatorData
|
|
</summary>
|
|
<param name="delegateType">The type of the factory.</param>
|
|
<param name="productService">The service used to provide the products of the factory.</param>
|
|
</member>
|
|
<member name="P:Autofac.Features.GeneratedFactories.GeneratedFactoryActivatorData.ParameterMapping">
|
|
<summary>
|
|
Determines how the parameters of the delegate type are passed on
|
|
to the generated Resolve() call as Parameter objects.
|
|
For Func-based delegates, this defaults to ByType. Otherwise, the
|
|
parameters will be mapped by name.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Features.GeneratedFactories.GeneratedFactoryActivatorData.Activator">
|
|
<summary>
|
|
Activator data that can provide an IInstanceActivator instance.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.IActivatorGenerator`1">
|
|
<summary>
|
|
Generates activators in an IRegistrationSource.
|
|
</summary>
|
|
<typeparam name="TActivatorData">Data associated with the specific kind of activator.</typeparam>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IActivatorGenerator`1.TryGenerateActivator(Autofac.Core.Service,System.Collections.Generic.IEnumerable{Autofac.Core.Service},`0,Autofac.Core.IInstanceActivator@,System.Collections.Generic.IEnumerable{Autofac.Core.Service}@)">
|
|
<summary>
|
|
Given a requested service and registration data, attempt to generate an
|
|
activator for the service.
|
|
</summary>
|
|
<param name="service">Service that was requested.</param>
|
|
<param name="configuredServices">Services associated with the activator generator.</param>
|
|
<param name="reflectionActivatorData">Data specific to this kind of activator.</param>
|
|
<param name="activator">Resulting activator.</param>
|
|
<param name="services">Services provided by the activator.</param>
|
|
<returns>True if an activator could be generated.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Builder.IHideObjectMembers">
|
|
<summary>
|
|
Hides standard Object members to make fluent interfaces
|
|
easier to read.
|
|
Based on blog post by @kzu here:
|
|
http://www.clariusconsulting.net/blogs/kzu/archive/2008/03/10/58301.aspx
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IHideObjectMembers.GetType">
|
|
<summary>
|
|
Standard System.Object member.
|
|
</summary>
|
|
<returns>Standard result.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IHideObjectMembers.GetHashCode">
|
|
<summary>
|
|
Standard System.Object member.
|
|
</summary>
|
|
<returns>Standard result.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IHideObjectMembers.ToString">
|
|
<summary>
|
|
Standard System.Object member.
|
|
</summary>
|
|
<returns>Standard result.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.IHideObjectMembers.Equals(System.Object)">
|
|
<summary>
|
|
Standard System.Object member.
|
|
</summary>
|
|
<param name="other">The other.</param>
|
|
<returns>Standard result.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Features.GeneratedFactories.ParameterMapping">
|
|
<summary>
|
|
Determines how the parameters of the delegate type are passed on
|
|
to the generated Resolve() call as Parameter objects.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Features.GeneratedFactories.ParameterMapping.Adaptive">
|
|
<summary>
|
|
Chooses parameter mapping based on the factory type.
|
|
For Func-based factories this is equivalent to ByType, for all
|
|
others ByName will be used.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Features.GeneratedFactories.ParameterMapping.ByName">
|
|
<summary>
|
|
Pass the parameters supplied to the delegate through to the
|
|
underlying registration as NamedParameters based on the parameter
|
|
names in the delegate type's formal argument list.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Features.GeneratedFactories.ParameterMapping.ByType">
|
|
<summary>
|
|
Pass the parameters supplied to the delegate through to the
|
|
underlying registration as TypedParameters based on the parameter
|
|
types in the delegate type's formal argument list.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Features.GeneratedFactories.ParameterMapping.ByPosition">
|
|
<summary>
|
|
Pass the parameters supplied to the delegate through to the
|
|
underlying registration as PositionalParameters based on the parameter
|
|
indices in the delegate type's formal argument list.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Features.Indexed.IIndex`2">
|
|
<summary>
|
|
Provides components by lookup operations via an index (key) type.
|
|
</summary>
|
|
<typeparam name="TKey">The type of the index.</typeparam>
|
|
<typeparam name="TValue">The service provided by the indexed components.</typeparam>
|
|
<example>
|
|
Retrieving a value given a key:
|
|
<code>
|
|
IIndex<AccountType, IRenderer> accountRenderers = // ...
|
|
var renderer = accountRenderers[AccountType.User];
|
|
</code>
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.Features.Indexed.IIndex`2.TryGetValue(`0,`1@)">
|
|
<summary>
|
|
Get the value associated with <paramref name="key"/> if any is available.
|
|
</summary>
|
|
<param name="key">The key to look up.</param>
|
|
<param name="value">The retrieved value.</param>
|
|
<returns>True if a value associated with the key exists.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Features.Indexed.IIndex`2.Item(`0)">
|
|
<summary>
|
|
Get the value associated with <paramref name="key"/>.
|
|
</summary>
|
|
<param name="key">The value to retrieve.</param>
|
|
<returns>The associated value.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Features.Metadata.MetaRegistrationSource">
|
|
<summary>
|
|
Support the <see cref="T:Autofac.Features.Metadata.Meta`1"/>
|
|
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.Features.Metadata.Meta`1">
|
|
<summary>
|
|
Provides a value along with a dictionary of metadata describing the value.
|
|
</summary>
|
|
<typeparam name="T">The type of the value.</typeparam>
|
|
</member>
|
|
<member name="M:Autofac.Features.Metadata.Meta`1.#ctor(`0,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary>
|
|
Create a new instance.
|
|
</summary>
|
|
<param name="value">The value described by the instance.</param>
|
|
<param name="metadata">The metadata describing the value.</param>
|
|
</member>
|
|
<member name="P:Autofac.Features.Metadata.Meta`1.Value">
|
|
<summary>
|
|
The value described by <see cref="P:Autofac.Features.Metadata.Meta`1.Metadata"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Features.Metadata.Meta`1.Metadata">
|
|
<summary>
|
|
Metadata describing the value.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource">
|
|
<summary>
|
|
Provides registrations on-the-fly for any concrete type not already registered with
|
|
the container.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource.#ctor">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource"/> class.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource.#ctor(System.Func{System.Type,System.Boolean})">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource"/> class.
|
|
</summary>
|
|
<param name="predicate">A predicate that selects types the source will register.</param>
|
|
</member>
|
|
<member name="M:Autofac.Features.ResolveAnything.AnyConcreteTypeNotAlreadyRegisteredSource.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="T:Autofac.Features.Scanning.ScanningActivatorData">
|
|
<summary>
|
|
Activation data for types located by scanning assemblies.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Features.Scanning.ScanningActivatorData.#ctor">
|
|
<summary>
|
|
Create an instance of <see cref="T:Autofac.Features.Scanning.ScanningActivatorData"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Features.Scanning.ScanningActivatorData.Filters">
|
|
<summary>
|
|
The filters applied to the types from the scanned assembly.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Features.Scanning.ScanningActivatorData.ConfigurationActions">
|
|
<summary>
|
|
Additional actions to be performed on the concrete type registrations.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.ActivatedEventArgs`1">
|
|
<summary>
|
|
Fired when the activation process for a new instance is complete.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.ActivatedEventArgs`1.#ctor(Autofac.IComponentContext,Autofac.Core.IComponentRegistration,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},`0)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.ActivatedEventArgs`1"/> class.
|
|
</summary>
|
|
<param name="context">The context.</param>
|
|
<param name="component">The component.</param>
|
|
<param name="parameters">The parameters.</param>
|
|
<param name="instance">The instance.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.ActivatedEventArgs`1.Context">
|
|
<summary>
|
|
The context in which the activation occurred.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.ActivatedEventArgs`1.Component">
|
|
<summary>
|
|
The component providing the instance.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.ActivatedEventArgs`1.Parameters">
|
|
<summary>
|
|
The paramters provided when resolved.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.ActivatedEventArgs`1.Instance">
|
|
<summary>
|
|
The instance that will be used to satisfy the request.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.ActivatingEventArgs`1">
|
|
<summary>
|
|
Fired after the construction of an instance but before that instance
|
|
is shared with any other or any members are invoked on it.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.ActivatingEventArgs`1.#ctor(Autofac.IComponentContext,Autofac.Core.IComponentRegistration,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},`0)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.ActivatedEventArgs`1"/> class.
|
|
</summary>
|
|
<param name="context">The context.</param>
|
|
<param name="component">The component.</param>
|
|
<param name="parameters">The parameters.</param>
|
|
<param name="instance">The instance.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.ActivatingEventArgs`1.Autofac#Core#IActivatingEventArgs{T}#ReplaceInstance(System.Object)">
|
|
<summary>
|
|
The instance can be replaced if needed, e.g. by an interface proxy.
|
|
</summary>
|
|
<param name="instance">The object to use instead of the activated instance.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.ActivatingEventArgs`1.Context">
|
|
<summary>
|
|
The context in which the activation occurred.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.ActivatingEventArgs`1.Component">
|
|
<summary>
|
|
The component providing the instance.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.ActivatingEventArgs`1.Instance">
|
|
<summary>
|
|
The instance that will be used to satisfy the request.
|
|
</summary>
|
|
<remarks>
|
|
The instance can be replaced if needed, e.g. by an interface proxy.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:Autofac.Core.ActivatingEventArgs`1.Parameters">
|
|
<summary>
|
|
The parameters supplied to the activator.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Delegate.DelegateActivator">
|
|
<summary>
|
|
Activate instances using a delegate.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.InstanceActivator">
|
|
<summary>
|
|
Base class for instance activators.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Util.Disposable">
|
|
<summary>
|
|
Base class for disposable objects.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Util.Disposable.Dispose">
|
|
<summary>
|
|
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Util.Disposable.Dispose(System.Boolean)">
|
|
<summary>
|
|
Releases unmanaged and - optionally - managed resources
|
|
</summary>
|
|
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.InstanceActivator.#ctor(System.Type)">
|
|
<summary>
|
|
Create an instance activator that will return instances compatible
|
|
with <paramref name="limitType"/>.
|
|
</summary>
|
|
<param name="limitType">Most derived type to which instances can be cast.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.InstanceActivator.ToString">
|
|
<summary>
|
|
Gets a string representation of the activator.
|
|
</summary>
|
|
<returns>A string describing the activator.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.InstanceActivator.LimitType">
|
|
<summary>
|
|
The most specific type that the component instances are known to be castable to.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.IInstanceActivator">
|
|
<summary>
|
|
Activates component instances.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.IInstanceActivator.ActivateInstance(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Activate an instance in the provided context.
|
|
</summary>
|
|
<param name="context">Context in which to activate instances.</param>
|
|
<param name="parameters">Parameters to the instance.</param>
|
|
<returns>The activated instance.</returns>
|
|
<remarks>
|
|
The context parameter here should probably be ILifetimeScope in order to reveal Disposer,
|
|
but will wait until implementing a concrete use case to make the decision
|
|
</remarks>
|
|
</member>
|
|
<member name="P:Autofac.Core.IInstanceActivator.LimitType">
|
|
<summary>
|
|
The most specific type that the component instances are known to be castable to.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Delegate.DelegateActivator.#ctor(System.Type,System.Func{Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Object})">
|
|
<summary>
|
|
Create a delegate activator.
|
|
</summary>
|
|
<param name="limitType">The most specific type to which activated instances can be cast.</param>
|
|
<param name="activationFunction">Activation delegate.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Activate an instance in the provided context.
|
|
</summary>
|
|
<param name="context">Context in which to activate instances.</param>
|
|
<param name="parameters">Parameters to the instance.</param>
|
|
<returns>The activated instance.</returns>
|
|
<remarks>
|
|
The context parameter here should probably be ILifetimeScope in order to reveal Disposer,
|
|
but will wait until implementing a concrete use case to make the decision
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.ProvidedInstance.ProvidedInstanceActivator">
|
|
<summary>
|
|
Provides a pre-constructed instance.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.ProvidedInstance.ProvidedInstanceActivator.#ctor(System.Object)">
|
|
<summary>
|
|
Provide the specified instance.
|
|
</summary>
|
|
<param name="instance">The instance to provide.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.ProvidedInstance.ProvidedInstanceActivator.ActivateInstance(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Activate an instance in the provided context.
|
|
</summary>
|
|
<param name="context">Context in which to activate instances.</param>
|
|
<param name="parameters">Parameters to the instance.</param>
|
|
<returns>The activated instance.</returns>
|
|
<remarks>
|
|
The context parameter here should probably be ILifetimeScope in order to reveal Disposer,
|
|
but will wait until implementing a concrete use case to make the decision
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.ProvidedInstance.ProvidedInstanceActivator.Dispose(System.Boolean)">
|
|
<summary>
|
|
Releases unmanaged and - optionally - managed resources
|
|
</summary>
|
|
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.ProvidedInstance.ProvidedInstanceActivator.DisposeInstance">
|
|
<summary>
|
|
Determines whether the activator disposes the instance that it holds.
|
|
Necessary because otherwise instances that are never resolved will never be
|
|
disposed.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.ProvidedInstance.ProvidedInstanceActivatorResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.ProvidedInstance.ProvidedInstanceActivatorResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.ProvidedInstance.ProvidedInstanceActivatorResources.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.Core.Activators.ProvidedInstance.ProvidedInstanceActivatorResources.InstanceAlreadyActivated">
|
|
<summary>
|
|
Looks up a localized string similar to The provided instance has already been used in an activation request. Did you combine a provided instance with non-root/single-instance lifetime/sharing?.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.AutowiringParameter">
|
|
<summary>
|
|
Supplies values based on the target parameter type.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.AutowiringParameter.CanSupplyValue(System.Reflection.ParameterInfo,Autofac.IComponentContext,System.Func{System.Object}@)">
|
|
<summary>
|
|
Returns true if the parameter is able to provide a value to a particular site.
|
|
</summary>
|
|
<param name="pi">Constructor, method, or property-mutator parameter.</param>
|
|
<param name="context">The component context in which the value is being provided.</param>
|
|
<param name="valueProvider">If the result is true, the valueProvider parameter will
|
|
be set to a function that will lazily retrieve the parameter value. If the result is false,
|
|
will be set to null.</param>
|
|
<returns>True if a value can be supplied; otherwise, false.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.BindingFlagsConstructorFinder">
|
|
<summary>
|
|
Finds constructors based on their binding flags.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.IConstructorFinder">
|
|
<summary>
|
|
Find suitable constructors from which to select.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.IConstructorFinder.FindConstructors(System.Type)">
|
|
<summary>
|
|
Finds suitable constructors on the target type.
|
|
</summary>
|
|
<param name="targetType">Type to search for constructors.</param>
|
|
<returns>Suitable constructors.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.BindingFlagsConstructorFinder.#ctor(System.Reflection.BindingFlags)">
|
|
<summary>
|
|
Create an instance matching constructors with the supplied binding flags.
|
|
</summary>
|
|
<param name="bindingFlags">Binding flags to match.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.BindingFlagsConstructorFinder.FindConstructors(System.Type)">
|
|
<summary>
|
|
Finds suitable constructors on the target type.
|
|
</summary>
|
|
<param name="targetType">Type to search for constructors.</param>
|
|
<returns>Suitable constructors.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.ConstructorParameterBinding">
|
|
<summary>
|
|
Binds a constructor to the parameters that will be used when it is invoked.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.ConstructorParameterBinding.#ctor(System.Reflection.ConstructorInfo,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},Autofac.IComponentContext)">
|
|
<summary>
|
|
Construct a new ConstructorParameterBinding.
|
|
</summary>
|
|
<param name="ci">ConstructorInfo to bind.</param>
|
|
<param name="availableParameters">Available parameters.</param>
|
|
<param name="context">Context in which to construct instance.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate">
|
|
<summary>
|
|
Invoke the constructor with the parameter bindings.
|
|
</summary>
|
|
<returns>The constructed instance.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.ConstructorParameterBinding.ToString">
|
|
<summary>Returns a System.String that represents the current System.Object.</summary>
|
|
<returns>A System.String that represents the current System.Object.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ConstructorParameterBinding.TargetConstructor">
|
|
<summary>
|
|
The constructor on the target type. The actual constructor used
|
|
might differ, e.g. if using a dynamic proxy.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ConstructorParameterBinding.CanInstantiate">
|
|
<summary>
|
|
True if the binding is valid.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Description">
|
|
<summary>
|
|
Describes the constructor parameter binding.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.IConstructorSelector">
|
|
<summary>
|
|
Selects the best constructor from a set of available constructors.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.IConstructorSelector.SelectConstructorBinding(System.Collections.Generic.IEnumerable{Autofac.Core.Activators.Reflection.ConstructorParameterBinding})">
|
|
<summary>
|
|
Selects the best constructor from the available constructors.
|
|
</summary>
|
|
<param name="constructorBindings">Available constructors.</param>
|
|
<returns>The best constructor.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.MatchingSignatureConstructorSelector">
|
|
<summary>
|
|
Selects a constructor based on its signature.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.MatchingSignatureConstructorSelector.#ctor(System.Type[])">
|
|
<summary>
|
|
Match constructors with the provided signature.
|
|
</summary>
|
|
<param name="signature">Signature to match.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.MatchingSignatureConstructorSelector.SelectConstructorBinding(System.Collections.Generic.IEnumerable{Autofac.Core.Activators.Reflection.ConstructorParameterBinding})">
|
|
<summary>
|
|
Selects the best constructor from the available constructors.
|
|
</summary>
|
|
<param name="constructorBindings">Available constructors.</param>
|
|
<returns>The best constructor.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.MatchingSignatureConstructorSelectorResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.MatchingSignatureConstructorSelectorResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.MatchingSignatureConstructorSelectorResources.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.Core.Activators.Reflection.MatchingSignatureConstructorSelectorResources.RequiredConstructorNotAvailable">
|
|
<summary>
|
|
Looks up a localized string similar to The required constructor is unavailable..
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.MatchingSignatureConstructorSelectorResources.TooManyConstructorsMatch">
|
|
<summary>
|
|
Looks up a localized string similar to More than one constructor matches the selection policy..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.MostParametersConstructorSelector">
|
|
<summary>
|
|
Selects the constructor with the most parameters.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.MostParametersConstructorSelector.SelectConstructorBinding(System.Collections.Generic.IEnumerable{Autofac.Core.Activators.Reflection.ConstructorParameterBinding})">
|
|
<summary>
|
|
Selects the best constructor from the available constructors.
|
|
</summary>
|
|
<param name="constructorBindings">Available constructors.</param>
|
|
<returns>The best constructor.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.ReflectionActivator">
|
|
<summary>
|
|
Uses reflection to activate instances of a type.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.ReflectionActivator.#ctor(System.Type,Autofac.Core.Activators.Reflection.IConstructorFinder,Autofac.Core.Activators.Reflection.IConstructorSelector,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Create an activator for the provided type.
|
|
</summary>
|
|
<param name="implementationType">Type to activate.</param>
|
|
<param name="constructorFinder">Constructor finder.</param>
|
|
<param name="constructorSelector">Constructor selector.</param>
|
|
<param name="configuredParameters">Parameters configured explicitly for this instance.</param>
|
|
<param name="configuredProperties">Properties configured explicitly for this instance.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Activate an instance in the provided context.
|
|
</summary>
|
|
<param name="context">Context in which to activate instances.</param>
|
|
<param name="parameters">Parameters to the instance.</param>
|
|
<returns>The activated instance.</returns>
|
|
<remarks>
|
|
The context parameter here should probably be ILifetimeScope in order to reveal Disposer,
|
|
but will wait until implementing a concrete use case to make the decision
|
|
</remarks>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ReflectionActivator.ConstructorFinder">
|
|
<summary>
|
|
The constructor finder.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ReflectionActivator.ConstructorSelector">
|
|
<summary>
|
|
The constructor selector.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Activators.Reflection.ReflectionActivatorResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ReflectionActivatorResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ReflectionActivatorResources.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.Core.Activators.Reflection.ReflectionActivatorResources.NoConstructorsAvailable">
|
|
<summary>
|
|
Looks up a localized string similar to No constructors matching the constructor-finding policy can be found on the target type..
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Activators.Reflection.ReflectionActivatorResources.NoConstructorsBindable">
|
|
<summary>
|
|
Looks up a localized string similar to None of the constructors found with policy '{0}' on type '{1}' can be invoked with the available services and parameters:{2}.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.ConstantParameter">
|
|
<summary>
|
|
Base class for parameters that provide a constant value.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.ConstantParameter.#ctor(System.Object,System.Predicate{System.Reflection.ParameterInfo})">
|
|
<summary>
|
|
Create a constant parameter that will apply to parameters matching
|
|
the supplied predicate.
|
|
</summary>
|
|
<param name="value"></param>
|
|
<param name="predicate"></param>
|
|
</member>
|
|
<member name="M:Autofac.Core.ConstantParameter.CanSupplyValue(System.Reflection.ParameterInfo,Autofac.IComponentContext,System.Func{System.Object}@)">
|
|
<summary>
|
|
Returns true if the parameter is able to provide a value to a particular site.
|
|
</summary>
|
|
<param name="pi">Constructor, method, or property-mutator parameter.</param>
|
|
<param name="context">The component context in which the value is being provided.</param>
|
|
<param name="valueProvider">If the result is true, the valueProvider parameter will
|
|
be set to a function that will lazily retrieve the parameter value. If the result is false,
|
|
will be set to null.</param>
|
|
<returns>True if a value can be supplied; otherwise, false.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.ConstantParameter.Value">
|
|
<summary>
|
|
The value of the parameter.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Container">
|
|
<summary>
|
|
Standard container implementation.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.IContainer">
|
|
<summary>
|
|
Creates, wires dependencies and manages lifetime for a set of components.
|
|
Most instances of <see cref="T:Autofac.IContainer"/> are created
|
|
by a <see cref="T:Autofac.ContainerBuilder"/>.
|
|
</summary>
|
|
<example>
|
|
<code>
|
|
// See ContainerBuilder for the definition of the builder variable
|
|
using (var container = builder.Build())
|
|
{
|
|
var program = container.Resolve<Program>();
|
|
program.Run();
|
|
}
|
|
</code>
|
|
</example>
|
|
<remarks>
|
|
Most <see cref="T:Autofac.IContainer"/> functionality is provided by extension methods
|
|
on the inherited <see cref="T:Autofac.IComponentContext"/> interface.
|
|
</remarks>
|
|
<seealso cref="T:Autofac.ILifetimeScope"/>
|
|
<seealso cref="T:Autofac.IComponentContext"/>
|
|
<seealso cref="T:Autofac.ResolutionExtensions"/>
|
|
<seealso cref="T:Autofac.ContainerBuilder"/>
|
|
</member>
|
|
<member name="T:Autofac.ILifetimeScope">
|
|
<summary>
|
|
An <see cref="T:Autofac.ILifetimeScope"/> tracks the instantiation of component instances.
|
|
It defines a boundary in which instances are shared and configured.
|
|
Disposing an <see cref="T:Autofac.ILifetimeScope"/> will dispose the components that were
|
|
resolved through it.
|
|
</summary>
|
|
<example>
|
|
<code>
|
|
// See IContainer for definition of the container variable
|
|
using (var requestScope = container.BeginLifetimeScope())
|
|
{
|
|
// Note that handler is resolved from requestScope, not
|
|
// from the container:
|
|
|
|
var handler = requestScope.Resolve<IRequestHandler>();
|
|
handler.Handle(request);
|
|
|
|
// When requestScope is disposed, all resources used in processing
|
|
// the request will be released.
|
|
}
|
|
</code>
|
|
</example>
|
|
<remarks>
|
|
All long-running applications should resolve components via an
|
|
<see cref="T:Autofac.ILifetimeScope"/>. Choosing the duration of the lifetime is application-
|
|
specific. The standard Autofac WCF and ASP.NET/MVC integrations are already configured
|
|
to create and release <see cref="T:Autofac.ILifetimeScope"/>s as appropriate. For example, the
|
|
ASP.NET integration will create and release an <see cref="T:Autofac.ILifetimeScope"/> per HTTP
|
|
request.
|
|
Most <see cref="T:Autofac.ILifetimeScope"/> functionality is provided by extension methods
|
|
on the inherited <see cref="T:Autofac.IComponentContext"/> interface.
|
|
</remarks>
|
|
<seealso cref="T:Autofac.IContainer"/>
|
|
<seealso cref="T:Autofac.IComponentContext"/>
|
|
<seealso cref="M:Autofac.Builder.IRegistrationBuilder`3.InstancePerMatchingLifetimeScope(System.Object)"/>
|
|
<seealso cref="M:Autofac.Builder.IRegistrationBuilder`3.InstancePerLifetimeScope"/>
|
|
<seealso cref="T:Autofac.Core.InstanceSharing"/>
|
|
<seealso cref="T:Autofac.Core.IComponentLifetime"/>
|
|
</member>
|
|
<member name="T:Autofac.IComponentContext">
|
|
<summary>
|
|
The context in which a service can be accessed or a component's
|
|
dependencies resolved. Disposal of a context will dispose any owned
|
|
components.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.IComponentContext.Resolve(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="P:Autofac.IComponentContext.ComponentRegistry">
|
|
<summary>
|
|
Associates services with the components that provide them.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.ILifetimeScope.BeginLifetimeScope">
|
|
<summary>
|
|
Begin a new nested scope. Component instances created via the new scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ILifetimeScope.BeginLifetimeScope(System.Object)">
|
|
<summary>
|
|
Begin a new nested scope. Component instances created via the new scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ILifetimeScope.BeginLifetimeScope(System.Action{Autofac.ContainerBuilder})">
|
|
<summary>
|
|
Begin a new nested scope, with additional components available to it.
|
|
Component instances created via the new scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<remarks>
|
|
The components registered in the sub-scope will be treated as though they were
|
|
registered in the root scope, i.e., SingleInstance() components will live as long
|
|
as the root scope.
|
|
</remarks>
|
|
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
|
|
that adds component registations visible only in the new scope.</param>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ILifetimeScope.BeginLifetimeScope(System.Object,System.Action{Autofac.ContainerBuilder})">
|
|
<summary>
|
|
Begin a new nested scope, with additional components available to it.
|
|
Component instances created via the new scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<remarks>
|
|
The components registered in the sub-scope will be treated as though they were
|
|
registered in the root scope, i.e., SingleInstance() components will live as long
|
|
as the root scope.
|
|
</remarks>
|
|
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
|
|
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
|
|
that adds component registations visible only in the new scope.</param>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="P:Autofac.ILifetimeScope.Disposer">
|
|
<summary>
|
|
The disposer associated with this <see cref="T:Autofac.ILifetimeScope"/>.
|
|
Component instances can be associated with it manually if required.
|
|
</summary>
|
|
<remarks>Typical usage does not require interaction with this member- it
|
|
is used when extending the container.</remarks>
|
|
</member>
|
|
<member name="P:Autofac.ILifetimeScope.Tag">
|
|
<summary>
|
|
The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.
|
|
</summary>
|
|
<remarks>Tags allow a level in the lifetime hierarchy to be identified.
|
|
In most applications, tags are not necessary.</remarks>
|
|
<seealso cref="M:Autofac.Builder.IRegistrationBuilder`3.InstancePerMatchingLifetimeScope(System.Object)"/>
|
|
</member>
|
|
<member name="F:Autofac.Core.Container.Empty">
|
|
<summary>
|
|
An empty container.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Container.#ctor">
|
|
<summary>
|
|
Create a new container.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Container.BeginLifetimeScope">
|
|
<summary>
|
|
Begin a new sub-scope. Instances created via the sub-scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Container.BeginLifetimeScope(System.Object)">
|
|
<summary>
|
|
Begin a new sub-scope. Instances created via the sub-scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Container.BeginLifetimeScope(System.Action{Autofac.ContainerBuilder})">
|
|
<summary>
|
|
Begin a new nested scope, with additional components available to it.
|
|
Component instances created via the new scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
|
|
that adds component registations visible only in the new scope.</param>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Container.BeginLifetimeScope(System.Object,System.Action{Autofac.ContainerBuilder})">
|
|
<summary>
|
|
Begin a new nested scope, with additional components available to it.
|
|
Component instances created via the new scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
|
|
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
|
|
that adds component registations visible only in the new scope.</param>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Container.Resolve(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.Core.Container.Dispose(System.Boolean)">
|
|
<summary>
|
|
Releases unmanaged and - optionally - managed resources
|
|
</summary>
|
|
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Container.System#IServiceProvider#GetService(System.Type)">
|
|
<summary>
|
|
Gets the service object of the specified type.
|
|
</summary>
|
|
<param name="serviceType">An object that specifies the type of service object
|
|
to get.</param>
|
|
<returns>
|
|
A service object of type <paramref name="serviceType"/>.-or- null if there is
|
|
no service object of type <paramref name="serviceType"/>.
|
|
</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.Container.Disposer">
|
|
<summary>
|
|
The disposer associated with this container. Instances can be associated
|
|
with it manually if required.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Container.Tag">
|
|
<summary>
|
|
Tag applied to the lifetime scope.
|
|
</summary>
|
|
<remarks>The tag applied to this scope and the contexts generated when
|
|
it resolves component dependencies.</remarks>
|
|
</member>
|
|
<member name="P:Autofac.Core.Container.ComponentRegistry">
|
|
<summary>
|
|
Associates services with the components that provide them.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.DependencyResolutionException">
|
|
<summary>
|
|
Problem resolving dependencies, e.g. circular references, no callable constructor etc.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.DependencyResolutionException.#ctor">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.DependencyResolutionException"/> class.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.DependencyResolutionException.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.DependencyResolutionException"/> class.
|
|
</summary>
|
|
<param name="message">The message.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.DependencyResolutionException.#ctor(System.String,System.Exception)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.DependencyResolutionException"/> class.
|
|
</summary>
|
|
<param name="message">The message.</param>
|
|
<param name="innerException">The inner exception.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.DependencyResolutionException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/> class.
|
|
</summary>
|
|
<param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
|
|
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
|
|
<exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
|
|
<exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
|
|
</member>
|
|
<member name="T:Autofac.Core.DependencyResolutionExceptionResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.DependencyResolutionExceptionResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.DependencyResolutionExceptionResources.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.Core.DependencyResolutionExceptionResources.DefaultMessage">
|
|
<summary>
|
|
Looks up a localized string similar to A required component could not be created..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Disposer">
|
|
<summary>
|
|
Maintains a set of objects to dispose, and disposes them in the reverse order
|
|
from which they were added when the Disposer is itself disposed.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.IDisposer">
|
|
<summary>
|
|
Provided on an object that will dispose of other objects when it is
|
|
itself disposed.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.IDisposer.AddInstanceForDisposal(System.IDisposable)">
|
|
<summary>
|
|
Adds an object to the disposer. When the disposer is
|
|
disposed, so will the object be.
|
|
</summary>
|
|
<param name="instance">The instance.</param>
|
|
</member>
|
|
<member name="F:Autofac.Core.Disposer._items">
|
|
<summary>
|
|
Contents all implement IDisposable.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Disposer.Dispose(System.Boolean)">
|
|
<summary>
|
|
Releases unmanaged and - optionally - managed resources
|
|
</summary>
|
|
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Disposer.AddInstanceForDisposal(System.IDisposable)">
|
|
<summary>
|
|
Adds an object to the disposer. When the disposer is
|
|
disposed, so will the object be.
|
|
</summary>
|
|
<param name="instance">The instance.</param>
|
|
</member>
|
|
<member name="T:Autofac.Core.IComponentLifetime">
|
|
<summary>
|
|
Locates the lifetime to which instances of a component should be attached.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentLifetime.FindScope(Autofac.Core.ISharingLifetimeScope)">
|
|
<summary>
|
|
Given the most nested scope visible within the resolve operation, find
|
|
the scope for the component.
|
|
</summary>
|
|
<param name="mostNestedVisibleScope">The most nested visible scope.</param>
|
|
<returns>The scope for the component.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.IComponentRegistration">
|
|
<summary>
|
|
Describes a logical component within the container.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentRegistration.RaisePreparing(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter}@)">
|
|
<summary>
|
|
Called by the container when an instance is required.
|
|
</summary>
|
|
<param name="context">The context in which the instance will be activated.</param>
|
|
<param name="parameters">Parameters for activation. These may be modified by the event handler.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentRegistration.RaiseActivating(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Object@)">
|
|
<summary>
|
|
Called by the container once an instance has been constructed.
|
|
</summary>
|
|
<param name="context">The context in which the instance was activated.</param>
|
|
<param name="parameters">The parameters supplied to the activator.</param>
|
|
<param name="instance">The instance.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentRegistration.RaiseActivated(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Object)">
|
|
<summary>
|
|
Called by the container once an instance has been fully constructed, including
|
|
any requested objects that depend on the instance.
|
|
</summary>
|
|
<param name="context">The context in which the instance was activated.</param>
|
|
<param name="parameters">The parameters supplied to the activator.</param>
|
|
<param name="instance">The instance.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.IComponentRegistration.Id">
|
|
<summary>
|
|
A unique identifier for this component (shared in all sub-contexts.)
|
|
This value also appears in Services.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IComponentRegistration.Activator">
|
|
<summary>
|
|
The activator used to create instances.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IComponentRegistration.Lifetime">
|
|
<summary>
|
|
The lifetime associated with the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IComponentRegistration.Sharing">
|
|
<summary>
|
|
Whether the component instances are shared or not.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IComponentRegistration.Ownership">
|
|
<summary>
|
|
Whether the instances of the component should be disposed by the container.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IComponentRegistration.Services">
|
|
<summary>
|
|
The services provided by the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IComponentRegistration.Metadata">
|
|
<summary>
|
|
Additional data associated with the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.IComponentRegistration.Target">
|
|
<summary>
|
|
The component registration upon which this registration is based.
|
|
</summary>
|
|
</member>
|
|
<member name="E:Autofac.Core.IComponentRegistration.Preparing">
|
|
<summary>
|
|
Fired when a new instance is required. The instance can be
|
|
provided in order to skip the regular activator, by setting the Instance property in
|
|
the provided event arguments.
|
|
</summary>
|
|
</member>
|
|
<member name="E:Autofac.Core.IComponentRegistration.Activating">
|
|
<summary>
|
|
Fired when a new instance is being activated. The instance can be
|
|
wrapped or switched at this time by setting the Instance property in
|
|
the provided event arguments.
|
|
</summary>
|
|
</member>
|
|
<member name="E:Autofac.Core.IComponentRegistration.Activated">
|
|
<summary>
|
|
Fired when the activation process for a new instance is complete.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.IComponentRegistry">
|
|
<summary>
|
|
Provides component registrations according to the services they provide.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentRegistry.TryGetRegistration(Autofac.Core.Service,Autofac.Core.IComponentRegistration@)">
|
|
<summary>
|
|
Attempts to find a default registration for the specified service.
|
|
</summary>
|
|
<param name="service">The service to look up.</param>
|
|
<param name="registration">The default registration for the service.</param>
|
|
<returns>True if a registration exists.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentRegistry.IsRegistered(Autofac.Core.Service)">
|
|
<summary>
|
|
Determines whether the specified service is registered.
|
|
</summary>
|
|
<param name="service">The service to test.</param>
|
|
<returns>True if the service is registered.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentRegistry.Register(Autofac.Core.IComponentRegistration)">
|
|
<summary>
|
|
Register a component.
|
|
</summary>
|
|
<param name="registration">The component registration.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentRegistry.Register(Autofac.Core.IComponentRegistration,System.Boolean)">
|
|
<summary>
|
|
Register a component.
|
|
</summary>
|
|
<param name="registration">The component registration.</param>
|
|
<param name="preserveDefaults">If true, existing defaults for the services provided by the
|
|
component will not be changed.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentRegistry.RegistrationsFor(Autofac.Core.Service)">
|
|
<summary>
|
|
Selects from the available registrations after ensuring that any
|
|
dynamic registration sources that may provide <paramref name="service"/>
|
|
have been invoked.
|
|
</summary>
|
|
<param name="service">The service for which registrations are sought.</param>
|
|
<returns>Registrations supporting <paramref name="service"/>.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.IComponentRegistry.AddRegistrationSource(Autofac.Core.IRegistrationSource)">
|
|
<summary>
|
|
Add a registration source that will provide registrations on-the-fly.
|
|
</summary>
|
|
<param name="source"></param>
|
|
</member>
|
|
<member name="P:Autofac.Core.IComponentRegistry.Registrations">
|
|
<summary>
|
|
Enumerate the registered components.
|
|
</summary>
|
|
</member>
|
|
<member name="E:Autofac.Core.IComponentRegistry.Registered">
|
|
<summary>
|
|
Fired whenever a component is registered - either explicitly or via a
|
|
<see cref="T:Autofac.Core.IRegistrationSource"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.IModule">
|
|
<summary>
|
|
Represents a set of components and related functionality
|
|
packaged together.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.IModule.Configure(Autofac.Core.IComponentRegistry)">
|
|
<summary>
|
|
Apply the module to the component registry.
|
|
</summary>
|
|
<param name="componentRegistry">Component registry to apply configuration to.</param>
|
|
</member>
|
|
<member name="T:Autofac.Core.InstanceOwnership">
|
|
<summary>
|
|
Determines when instances supporting IDisposable are disposed.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.InstanceOwnership.ExternallyOwned">
|
|
<summary>
|
|
The lifetime scope does not dispose the instances.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.InstanceOwnership.OwnedByLifetimeScope">
|
|
<summary>
|
|
The instances are disposed when the lifetime scope is disposed.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.InstanceSharing">
|
|
<summary>
|
|
Determines whether instances are shared within a lifetime scope.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.InstanceSharing.None">
|
|
<summary>
|
|
Each request for an instance will return a new object.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.InstanceSharing.Shared">
|
|
<summary>
|
|
Each request for an instance will return the same object.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.ISharingLifetimeScope">
|
|
<summary>
|
|
Defines a nested structure of lifetimes.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.ISharingLifetimeScope.GetOrCreateAndShare(System.Guid,System.Func{System.Object})">
|
|
<summary>
|
|
Try to retrieve an instance based on a GUID key. If the instance
|
|
does not exist, invoke <paramref name="creator"/> to create it.
|
|
</summary>
|
|
<param name="id">Key to look up.</param>
|
|
<param name="creator">Creation function.</param>
|
|
<returns>An instance.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.ISharingLifetimeScope.RootLifetimeScope">
|
|
<summary>
|
|
The root of the sharing hierarchy.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.ISharingLifetimeScope.ParentLifetimeScope">
|
|
<summary>
|
|
The parent of this node of the hierarchy, or null.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Lifetime.CurrentScopeLifetime">
|
|
<summary>
|
|
Attaches the instance's lifetime to the current lifetime scope.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.CurrentScopeLifetime.FindScope(Autofac.Core.ISharingLifetimeScope)">
|
|
<summary>
|
|
Given the most nested scope visible within the resolve operation, find
|
|
the scope for the component.
|
|
</summary>
|
|
<param name="mostNestedVisibleScope">The most nested visible scope.</param>
|
|
<returns>The scope for the component.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.Lifetime.LifetimeScope">
|
|
<summary>
|
|
Lifetime scope implementation.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.Lifetime.LifetimeScope._synchRoot">
|
|
<summary>
|
|
Protects instance variables from concurrent access.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.Lifetime.LifetimeScope.NoTag">
|
|
<summary>
|
|
The tag applied by default to nested scopes when no other tag is specified.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.Lifetime.LifetimeScope.RootTag">
|
|
<summary>
|
|
The tag applied to root scopes when no other tag is specified.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.#ctor(Autofac.Core.IComponentRegistry,Autofac.Core.Lifetime.LifetimeScope,System.Object)">
|
|
<summary>
|
|
Create a lifetime scope for the provided components and nested beneath a parent.
|
|
</summary>
|
|
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
|
|
<param name="componentRegistry">Components used in the scope.</param>
|
|
<param name="parent">Parent scope.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.#ctor(Autofac.Core.IComponentRegistry,System.Object)">
|
|
<summary>
|
|
Create a root lifetime scope for the provided components.
|
|
</summary>
|
|
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
|
|
<param name="componentRegistry">Components used in the scope.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.#ctor(Autofac.Core.IComponentRegistry)">
|
|
<summary>
|
|
Create a root lifetime scope for the provided components.
|
|
</summary>
|
|
<param name="componentRegistry">Components used in the scope.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope">
|
|
<summary>
|
|
Begin a new anonymous sub-scope. Instances created via the sub-scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope(System.Object)">
|
|
<summary>
|
|
Begin a new tagged sub-scope. Instances created via the sub-scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
|
|
<returns>A new lifetime scope.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope(System.Action{Autofac.ContainerBuilder})">
|
|
<summary>
|
|
Begin a new anonymous sub-scope, with additional components available to it.
|
|
Component instances created via the new scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
|
|
that adds component registations visible only in the new scope.</param>
|
|
<returns>A new lifetime scope.</returns>
|
|
<example>
|
|
IContainer cr = // ...
|
|
using (var lifetime = cr.BeginLifetimeScope(builder => {
|
|
builder.RegisterType<Foo>();
|
|
builder.RegisterType<Bar>().As<IBar>(); })
|
|
{
|
|
var foo = lifetime.Resolve<Foo>();
|
|
}
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope(System.Object,System.Action{Autofac.ContainerBuilder})">
|
|
<summary>
|
|
Begin a new tagged sub-scope, with additional components available to it.
|
|
Component instances created via the new scope
|
|
will be disposed along with it.
|
|
</summary>
|
|
<param name="tag">The tag applied to the <see cref="T:Autofac.ILifetimeScope"/>.</param>
|
|
<param name="configurationAction">Action on a <see cref="T:Autofac.ContainerBuilder"/>
|
|
that adds component registations visible only in the new scope.</param>
|
|
<returns>A new lifetime scope.</returns>
|
|
<example>
|
|
IContainer cr = // ...
|
|
using (var lifetime = cr.BeginLifetimeScope("unitOfWork", builder => {
|
|
builder.RegisterType<Foo>();
|
|
builder.RegisterType<Bar>().As<IBar>(); })
|
|
{
|
|
var foo = lifetime.Resolve<Foo>();
|
|
}
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.Resolve(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.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(System.Guid,System.Func{System.Object})">
|
|
<summary>
|
|
Try to retrieve an instance based on a GUID key. If the instance
|
|
does not exist, invoke <paramref name="creator"/> to create it.
|
|
</summary>
|
|
<param name="id">Key to look up.</param>
|
|
<param name="creator">Creation function.</param>
|
|
<returns>An instance.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.Dispose(System.Boolean)">
|
|
<summary>
|
|
Releases unmanaged and - optionally - managed resources
|
|
</summary>
|
|
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.LifetimeScope.System#IServiceProvider#GetService(System.Type)">
|
|
<summary>
|
|
Gets the service object of the specified type.
|
|
</summary>
|
|
<param name="serviceType">An object that specifies the type of service object
|
|
to get.</param>
|
|
<returns>
|
|
A service object of type <paramref name="serviceType"/>.-or- null if there is
|
|
no service object of type <paramref name="serviceType"/>.
|
|
</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.Lifetime.LifetimeScope.ParentLifetimeScope">
|
|
<summary>
|
|
The parent of this node of the hierarchy, or null.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Lifetime.LifetimeScope.RootLifetimeScope">
|
|
<summary>
|
|
The root of the sharing hierarchy.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Lifetime.LifetimeScope.Disposer">
|
|
<summary>
|
|
The disposer associated with this container. Instances can be associated
|
|
with it manually if required.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Lifetime.LifetimeScope.Tag">
|
|
<summary>
|
|
Tag applied to the lifetime scope.
|
|
</summary>
|
|
<remarks>The tag applied to this scope and the contexts generated when
|
|
it resolves component dependencies.</remarks>
|
|
</member>
|
|
<member name="P:Autofac.Core.Lifetime.LifetimeScope.ComponentRegistry">
|
|
<summary>
|
|
Associates services with the components that provide them.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Lifetime.MatchingScopeLifetime">
|
|
<summary>
|
|
Attaches the component's lifetime to scopes matching a supplied expression.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.MatchingScopeLifetime.#ctor(System.Linq.Expressions.Expression{System.Func{Autofac.ILifetimeScope,System.Boolean}})">
|
|
<summary>
|
|
Match scopes based on the provided expression.
|
|
</summary>
|
|
<param name="matchExpression">Expression describing scopes that will match.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.MatchingScopeLifetime.FindScope(Autofac.Core.ISharingLifetimeScope)">
|
|
<summary>
|
|
Given the most nested scope visible within the resolve operation, find
|
|
the scope for the component.
|
|
</summary>
|
|
<param name="mostNestedVisibleScope">The most nested visible scope.</param>
|
|
<returns>The scope for the component.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.Lifetime.MatchingScopeLifetimeResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Lifetime.MatchingScopeLifetimeResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Lifetime.MatchingScopeLifetimeResources.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.Core.Lifetime.MatchingScopeLifetimeResources.MatchingScopeNotFound">
|
|
<summary>
|
|
Looks up a localized string similar to No scope matching the expression '{0}' is visible from the scope in which the instance was requested..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Lifetime.RootScopeLifetime">
|
|
<summary>
|
|
Attaches the component's lifetime to the root scope.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Lifetime.RootScopeLifetime.FindScope(Autofac.Core.ISharingLifetimeScope)">
|
|
<summary>
|
|
Given the most nested scope visible within the resolve operation, find
|
|
the scope for the component.
|
|
</summary>
|
|
<param name="mostNestedVisibleScope">The most nested visible scope.</param>
|
|
<returns>The scope for the component.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Core.NamedPropertyParameter">
|
|
<summary>
|
|
A property identified by name. When applied to a reflection-based
|
|
component, the name will be matched against property names.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.NamedPropertyParameter.#ctor(System.String,System.Object)">
|
|
<summary>
|
|
Create a <see cref="T:Autofac.Core.NamedPropertyParameter"/> with the specified constant value.
|
|
</summary>
|
|
<param name="name">The name of the property.</param>
|
|
<param name="value">The property value.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.NamedPropertyParameter.Name">
|
|
<summary>
|
|
The name of the property.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.NamedService">
|
|
<summary>
|
|
Identifies a service using a textual name in addition to its type.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.NamedService.#ctor(System.String,System.Type)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.NamedService"/> class.
|
|
</summary>
|
|
<param name="serviceName">Name of the service.</param>
|
|
<param name="serviceType">Type of the service.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.NamedService.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.Core.NamedService.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="M:Autofac.Core.NamedService.ChangeType(System.Type)">
|
|
<summary>
|
|
Return a new service of the same kind, but carrying
|
|
<paramref name="newType"/> as the <see cref="P:Autofac.Core.NamedService.ServiceType"/>.
|
|
</summary>
|
|
<param name="newType">The new service type.</param>
|
|
<returns>A new service with the service type.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.NamedService.ServiceName">
|
|
<summary>
|
|
Gets or sets the name of the service.
|
|
</summary>
|
|
<value>The name of the service.</value>
|
|
</member>
|
|
<member name="P:Autofac.Core.NamedService.ServiceType">
|
|
<summary>
|
|
Gets the type of the service.
|
|
</summary>
|
|
<value>The type of the service.</value>
|
|
</member>
|
|
<member name="P:Autofac.Core.NamedService.Description">
|
|
<summary>
|
|
Gets a human-readable description of the service.
|
|
</summary>
|
|
<value>The description.</value>
|
|
</member>
|
|
<member name="T:Autofac.Core.PreparingEventArgs">
|
|
<summary>
|
|
Fired before the activation process to allow parameters to be changed or an alternative
|
|
instance to be provided.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.PreparingEventArgs.#ctor(Autofac.IComponentContext,Autofac.Core.IComponentRegistration,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.PreparingEventArgs"/> class.
|
|
</summary>
|
|
<param name="context">The context.</param>
|
|
<param name="component">The component.</param>
|
|
<param name="parameters">The parameters.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.PreparingEventArgs.Context">
|
|
<summary>
|
|
The context in which the activation is occurring.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.PreparingEventArgs.Component">
|
|
<summary>
|
|
The component providing the instance being activated.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.PreparingEventArgs.Parameters">
|
|
<summary>
|
|
The parameters supplied to the activator.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Registration.ComponentNotRegisteredException">
|
|
<summary>
|
|
A service was requested that cannot be provided
|
|
by the container.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentNotRegisteredException.#ctor">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/> class.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentNotRegisteredException.#ctor(Autofac.Core.Service)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/> class.
|
|
</summary>
|
|
<param name="service">The service.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentNotRegisteredException.#ctor(Autofac.Core.Service,System.Exception)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/> class.
|
|
</summary>
|
|
<param name="service">The service.</param>
|
|
<param name="innerException">The inner exception.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentNotRegisteredException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.Registration.ComponentNotRegisteredException"/> class.
|
|
</summary>
|
|
<param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
|
|
<param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
|
|
<exception cref="T:System.ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
|
|
<exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
|
|
</member>
|
|
<member name="T:Autofac.Core.Registration.ComponentNotRegisteredExceptionResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentNotRegisteredExceptionResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentNotRegisteredExceptionResources.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.Core.Registration.ComponentNotRegisteredExceptionResources.Message">
|
|
<summary>
|
|
Looks up a localized string similar to The requested service '{0}' has not been registered..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.ComponentRegisteredEventArgs">
|
|
<summary>
|
|
Information about the ocurrence of a component being registered
|
|
with a container.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.ComponentRegisteredEventArgs.#ctor(Autofac.Core.IComponentRegistry,Autofac.Core.IComponentRegistration)">
|
|
<summary>
|
|
Create a new instance with a valid container and component registration.
|
|
</summary>
|
|
<param name="registry">The container into which the registration
|
|
was made.</param>
|
|
<param name="componentRegistration">The component registration.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.ComponentRegisteredEventArgs.ComponentRegistry">
|
|
<summary>
|
|
The container into which the registration was made.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.ComponentRegisteredEventArgs.ComponentRegistration">
|
|
<summary>
|
|
The component registration.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Registration.ComponentRegistration">
|
|
<summary>
|
|
Describes a logical component within the container.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistration.#ctor(System.Guid,Autofac.Core.IInstanceActivator,Autofac.Core.IComponentLifetime,Autofac.Core.InstanceSharing,Autofac.Core.InstanceOwnership,System.Collections.Generic.IEnumerable{Autofac.Core.Service},System.Collections.Generic.IDictionary{System.String,System.Object})">
|
|
<summary>
|
|
Create a new component registration.
|
|
</summary>
|
|
<param name="id">Unique identifier for the component.</param>
|
|
<param name="activator">Activator used to activate instances.</param>
|
|
<param name="lifetime">Determines how the component will be associated with its lifetime.</param>
|
|
<param name="sharing">Whether the component is shared within its lifetime scope.</param>
|
|
<param name="ownership">Whether the component instances are disposed at the end of their lifetimes.</param>
|
|
<param name="services">Services the component provides.</param>
|
|
<param name="metadata">Data associated with the component.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistration.#ctor(System.Guid,Autofac.Core.IInstanceActivator,Autofac.Core.IComponentLifetime,Autofac.Core.InstanceSharing,Autofac.Core.InstanceOwnership,System.Collections.Generic.IEnumerable{Autofac.Core.Service},System.Collections.Generic.IDictionary{System.String,System.Object},Autofac.Core.IComponentRegistration)">
|
|
<summary>
|
|
Create a new component registration.
|
|
</summary>
|
|
<param name="id">Unique identifier for the component.</param>
|
|
<param name="activator">Activator used to activate instances.</param>
|
|
<param name="lifetime">Determines how the component will be associated with its lifetime.</param>
|
|
<param name="sharing">Whether the component is shared within its lifetime scope.</param>
|
|
<param name="ownership">Whether the component instances are disposed at the end of their lifetimes.</param>
|
|
<param name="services">Services the component provides.</param>
|
|
<param name="metadata">Data associated with the component.</param>
|
|
<param name="target">The component registration upon which this registration is based.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistration.RaisePreparing(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter}@)">
|
|
<summary>
|
|
Called by the container when an instance is required.
|
|
</summary>
|
|
<param name="context">The context in which the instance will be activated.</param>
|
|
<param name="parameters">Parameters for activation.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistration.RaiseActivating(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Object@)">
|
|
<summary>
|
|
Called by the container once an instance has been constructed.
|
|
</summary>
|
|
<param name="context">The context in which the instance was activated.</param>
|
|
<param name="parameters">The parameters supplied to the activator.</param>
|
|
<param name="instance">The instance.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistration.RaiseActivated(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Object)">
|
|
<summary>
|
|
Called by the container once an instance has been fully constructed, including
|
|
any requested objects that depend on the instance.
|
|
</summary>
|
|
<param name="context">The context in which the instance was activated.</param>
|
|
<param name="parameters">The parameters supplied to the activator.</param>
|
|
<param name="instance">The instance.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistration.ToString">
|
|
<summary>
|
|
Describes the component in a human-readable form.
|
|
</summary>
|
|
<returns>A description of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistration.Dispose(System.Boolean)">
|
|
<summary>
|
|
Releases unmanaged and - optionally - managed resources
|
|
</summary>
|
|
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistration.Target">
|
|
<summary>
|
|
The component registration upon which this registration is based.
|
|
If this registration was created directly by the user, returns this.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistration.Id">
|
|
<summary>
|
|
A unique identifier for this component (shared in all sub-contexts.)
|
|
This value also appears in Services.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistration.Activator">
|
|
<summary>
|
|
The activator used to create instances.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistration.Lifetime">
|
|
<summary>
|
|
The lifetime associated with the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistration.Sharing">
|
|
<summary>
|
|
Whether the component instances are shared or not.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistration.Ownership">
|
|
<summary>
|
|
Whether the instances of the component should be disposed by the container.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistration.Services">
|
|
<summary>
|
|
The services provided by the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistration.Metadata">
|
|
<summary>
|
|
Additional data associated with the component.
|
|
</summary>
|
|
</member>
|
|
<member name="E:Autofac.Core.Registration.ComponentRegistration.Preparing">
|
|
<summary>
|
|
Fired when a new instance is required. The instance can be
|
|
provided in order to skip the regular activator, by setting the Instance property in
|
|
the provided event arguments.
|
|
</summary>
|
|
</member>
|
|
<member name="E:Autofac.Core.Registration.ComponentRegistration.Activating">
|
|
<summary>
|
|
Fired when a new instance is being activated. The instance can be
|
|
wrapped or switched at this time by setting the Instance property in
|
|
the provided event arguments.
|
|
</summary>
|
|
</member>
|
|
<member name="E:Autofac.Core.Registration.ComponentRegistration.Activated">
|
|
<summary>
|
|
Fired when the activation process for a new instance is complete.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Registration.ComponentRegistry">
|
|
<summary>
|
|
Provides component registrations according to the services they provide.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.Registration.ComponentRegistry._synchRoot">
|
|
<summary>
|
|
Protects instance variables from concurrent access.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.Registration.ComponentRegistry._dynamicRegistrationSources">
|
|
<summary>
|
|
External registration sources.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.Registration.ComponentRegistry._registrations">
|
|
<summary>
|
|
All registrations.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.Registration.ComponentRegistry._serviceInfo">
|
|
<summary>
|
|
Keeps track of the status of registered services.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistry.Dispose(System.Boolean)">
|
|
<summary>
|
|
Releases unmanaged and - optionally - managed resources
|
|
</summary>
|
|
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistry.TryGetRegistration(Autofac.Core.Service,Autofac.Core.IComponentRegistration@)">
|
|
<summary>
|
|
Attempts to find a default registration for the specified service.
|
|
</summary>
|
|
<param name="service">The service to look up.</param>
|
|
<param name="registration">The default registration for the service.</param>
|
|
<returns>True if a registration exists.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistry.IsRegistered(Autofac.Core.Service)">
|
|
<summary>
|
|
Determines whether the specified service is registered.
|
|
</summary>
|
|
<param name="service">The service to test.</param>
|
|
<returns>True if the service is registered.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistry.Register(Autofac.Core.IComponentRegistration)">
|
|
<summary>
|
|
Register a component.
|
|
</summary>
|
|
<param name="registration">The component registration.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistry.Register(Autofac.Core.IComponentRegistration,System.Boolean)">
|
|
<summary>
|
|
Register a component.
|
|
</summary>
|
|
<param name="registration">The component registration.</param>
|
|
<param name="preserveDefaults">If true, existing defaults for the services provided by the
|
|
component will not be changed.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistry.RegistrationsFor(Autofac.Core.Service)">
|
|
<summary>
|
|
Selects from the available registrations after ensuring that any
|
|
dynamic registration sources that may provide <paramref name="service"/>
|
|
have been invoked.
|
|
</summary>
|
|
<param name="service">The service for which registrations are sought.</param>
|
|
<returns>Registrations supporting <paramref name="service"/>.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistry.AddRegistrationSource(Autofac.Core.IRegistrationSource)">
|
|
<summary>
|
|
Add a registration source that will provide registrations on-the-fly.
|
|
</summary>
|
|
<param name="source"></param>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistry.Registrations">
|
|
<summary>
|
|
Enumerate the registered components.
|
|
</summary>
|
|
</member>
|
|
<member name="E:Autofac.Core.Registration.ComponentRegistry.Registered">
|
|
<summary>
|
|
Fired whenever a component is registered - either explicitly or via a
|
|
<see cref="T:Autofac.Core.IRegistrationSource"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Registration.ComponentRegistry.ServiceInfo">
|
|
<summary>
|
|
Tracks the services known to the registry.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.Registration.ComponentRegistry.ServiceInfo.#ctor(Autofac.Core.Service)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.Registration.ComponentRegistry.ServiceInfo"/> class.
|
|
</summary>
|
|
<param name="service">The tracked service.</param>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistry.ServiceInfo.IsInitialized">
|
|
<summary>
|
|
The first time a service is requested, initialization (e.g. reading from sources)
|
|
happens. This value will then be set to true. Calling many methods on this type before
|
|
initialisation is an error.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistry.ServiceInfo.Implementations">
|
|
<summary>
|
|
The known implementations.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistry.ServiceInfo.IsRegistered">
|
|
<summary>
|
|
True if any implementations are known.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Registration.ComponentRegistry.ServiceInfo.SourcesToQuery">
|
|
<summary>
|
|
Used for bookkeeping so that the same source is not queried twice (may be null.)
|
|
</summary>
|
|
</member>
|
|
<member name="F:Autofac.Core.Resolving.CircularDependencyDetector.MaxResolveDepth">
|
|
<summary>
|
|
Catch circular dependencies that are triggered by post-resolve processing (e.g. 'OnActivated')
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Resolving.CircularDependencyDetectorResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Resolving.CircularDependencyDetectorResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Resolving.CircularDependencyDetectorResources.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.Core.Resolving.CircularDependencyDetectorResources.CircularDependency">
|
|
<summary>
|
|
Looks up a localized string similar to Circular component dependency detected: {0}..
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Resolving.CircularDependencyDetectorResources.MaxDepthExceeded">
|
|
<summary>
|
|
Looks up a localized string similar to Probable circular dependency between factory-scoped components. Chain includes '{0}'.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.Resolving.ResolveOperationResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Resolving.ResolveOperationResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Core.Resolving.ResolveOperationResources.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.Core.Resolving.ResolveOperationResources.MaxDepthExceeded">
|
|
<summary>
|
|
Looks up a localized string similar to Probable circular dependency between factory-scoped components. Chain includes '{0}'.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Core.TypedService">
|
|
<summary>
|
|
Identifies a service according to a type to which it can be assigned.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.TypedService.#ctor(System.Type)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.TypedService"/> class.
|
|
</summary>
|
|
<param name="serviceType">Type of the service.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.TypedService.Equals(System.Object)">
|
|
<summary>
|
|
Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>.
|
|
</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.Core.TypedService.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="M:Autofac.Core.TypedService.ChangeType(System.Type)">
|
|
<summary>
|
|
Return a new service of the same kind, but carrying
|
|
<paramref name="newType"/> as the <see cref="P:Autofac.Core.TypedService.ServiceType"/>.
|
|
</summary>
|
|
<param name="newType">The new service type.</param>
|
|
<returns>A new service with the service type.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Core.TypedService.ServiceType">
|
|
<summary>
|
|
Gets the type of the service.
|
|
</summary>
|
|
<value>The type of the service.</value>
|
|
</member>
|
|
<member name="P:Autofac.Core.TypedService.Description">
|
|
<summary>
|
|
Gets a human-readable description of the service.
|
|
</summary>
|
|
<value>The description.</value>
|
|
</member>
|
|
<member name="T:Autofac.Core.UniqueService">
|
|
<summary>
|
|
A handy unique service identifier type - all instances will be regarded as unequal.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.UniqueService.#ctor">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.UniqueService"/> class.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.UniqueService.#ctor(System.Guid)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Autofac.Core.UniqueService"/> class.
|
|
</summary>
|
|
<param name="id">The id.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.UniqueService.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.Core.UniqueService.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.Core.UniqueService.Description">
|
|
<summary>
|
|
Provides a programmer-readable description of the identifying feature of the service.
|
|
</summary>
|
|
<value></value>
|
|
</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
|
|
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="M:Autofac.Features.GeneratedFactories.GeneratedFactoryRegistrationSource.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="T:Autofac.Features.GeneratedFactories.FactoryGenerator">
|
|
<summary>
|
|
Generates context-bound closures that represent factories from
|
|
a set of heuristics based on delegate type signatures.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Features.GeneratedFactories.FactoryGenerator.#ctor(System.Type,Autofac.Core.Service,Autofac.Features.GeneratedFactories.ParameterMapping)">
|
|
<summary>
|
|
Create a factory generator.
|
|
</summary>
|
|
<param name="service">The service that will be activated in
|
|
order to create the products of the factory.</param>
|
|
<param name="delegateType">The delegate to provide as a factory.</param>
|
|
<param name="parameterMapping">The parameter mapping mode to use.</param>
|
|
</member>
|
|
<member name="M:Autofac.Features.GeneratedFactories.FactoryGenerator.#ctor(System.Type,Autofac.Core.IComponentRegistration,Autofac.Features.GeneratedFactories.ParameterMapping)">
|
|
<summary>
|
|
Create a factory generator.
|
|
</summary>
|
|
<param name="productRegistration">The component that will be activated in
|
|
order to create the products of the factory.</param>
|
|
<param name="delegateType">The delegate to provide as a factory.</param>
|
|
<param name="parameterMapping">The parameter mapping mode to use.</param>
|
|
</member>
|
|
<member name="M:Autofac.Features.GeneratedFactories.FactoryGenerator.GenerateFactory(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Generates a factory delegate that closes over the provided context.
|
|
</summary>
|
|
<param name="context">The context in which the factory will be used.</param>
|
|
<param name="parameters">Parameters provided to the resolve call for the factory itself.</param>
|
|
<returns>A factory delegate that will work within the context.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Features.GeneratedFactories.FactoryGenerator.GenerateFactory``1(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Generates a factory delegate that closes over the provided context.
|
|
</summary>
|
|
<param name="context">The context in which the factory will be used.</param>
|
|
<param name="parameters">Parameters provided to the resolve call for the factory itself.</param>
|
|
<returns>A factory delegate that will work within the context.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Features.OpenGenerics.OpenGenericActivatorGenerator">
|
|
<summary>
|
|
Generates activators for open generic types.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Features.OpenGenerics.OpenGenericActivatorGenerator.TryGenerateActivator(Autofac.Core.Service,System.Collections.Generic.IEnumerable{Autofac.Core.Service},Autofac.Builder.ReflectionActivatorData,Autofac.Core.IInstanceActivator@,System.Collections.Generic.IEnumerable{Autofac.Core.Service}@)">
|
|
<summary>
|
|
Given a requested service and registration data, attempt to generate an
|
|
activator for the service.
|
|
</summary>
|
|
<param name="service">Service that was requested.</param>
|
|
<param name="configuredServices">Services associated with the activator generator.</param>
|
|
<param name="reflectionActivatorData">Data specific to this kind of activator.</param>
|
|
<param name="activator">Resulting activator.</param>
|
|
<param name="services">Services provided by the activator.</param>
|
|
<returns>True if an activator could be generated.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Features.OwnedInstances.Owned`1">
|
|
<summary>
|
|
Represents a dependency that can be released by the dependent component.
|
|
</summary>
|
|
<typeparam name="T">The service provided by the dependency.</typeparam>
|
|
<remarks>
|
|
<para>
|
|
Autofac automatically provides instances of <see cref="T:Autofac.Features.OwnedInstances.Owned`1"/> whenever the
|
|
service <typeparamref name="T"/> is registered.
|
|
</para>
|
|
<para>
|
|
It is not necessary for <typeparamref name="T"/>, or the underlying component, to implement <see cref="T:System.IDisposable"/>.
|
|
Disposing of the <see cref="T:Autofac.Features.OwnedInstances.Owned`1"/> object is the correct way to handle cleanup of the dependency,
|
|
as this will dispose of any other components created indirectly as well.
|
|
</para>
|
|
<para>
|
|
When <see cref="T:Autofac.Features.OwnedInstances.Owned`1"/> is resolved, a new <see cref="T:Autofac.ILifetimeScope"/> is created for the
|
|
underlying <typeparamref name="T"/>, and tagged with the service matching <typeparamref name="T"/>,
|
|
generally a <see cref="T:Autofac.Core.TypedService"/>. This means that shared instances can be tied to this
|
|
scope by registering them as InstancePerMatchingLifetimeScope(new TypedService(typeof(T))).
|
|
</para>
|
|
</remarks>
|
|
<example>
|
|
The component D below is disposable and implements IService:
|
|
<code>
|
|
public class D : IService, IDisposable
|
|
{
|
|
// ...
|
|
}
|
|
</code>
|
|
The dependent component C can dispose of the D instance whenever required by taking a dependency on
|
|
<see cref="T:Autofac.Features.OwnedInstances.Owned`1"/>:
|
|
<code>
|
|
public class C
|
|
{
|
|
IService _service;
|
|
|
|
public C(Owned<IService> service)
|
|
{
|
|
_service = service;
|
|
}
|
|
|
|
void DoWork()
|
|
{
|
|
_service.Value.DoSomething();
|
|
}
|
|
|
|
void OnFinished()
|
|
{
|
|
_service.Dispose();
|
|
}
|
|
}
|
|
</code>
|
|
In general, rather than depending on <see cref="T:Autofac.Features.OwnedInstances.Owned`1"/> directly, components will depend on
|
|
System.Func<Owned<T>> in order to create and dispose of other components as required.
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.Features.OwnedInstances.Owned`1.#ctor(`0,System.IDisposable)">
|
|
<summary>
|
|
Create an instance of <see cref="T:Autofac.Features.OwnedInstances.Owned`1"/>.
|
|
</summary>
|
|
<param name="value">The value representing the instance.</param>
|
|
<param name="lifetime">An IDisposable interface through which ownership can be released.</param>
|
|
</member>
|
|
<member name="M:Autofac.Features.OwnedInstances.Owned`1.Dispose(System.Boolean)">
|
|
<summary>
|
|
Releases unmanaged and - optionally - managed resources
|
|
</summary>
|
|
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
|
</member>
|
|
<member name="P:Autofac.Features.OwnedInstances.Owned`1.Value">
|
|
<summary>
|
|
The owned value.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Features.OwnedInstances.OwnedInstanceRegistrationSource">
|
|
<summary>
|
|
Generates registrations for services of type <see cref="T:Autofac.Features.OwnedInstances.Owned`1"/> whenever the service
|
|
T is available.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Features.OwnedInstances.OwnedInstanceRegistrationSource.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="M:Autofac.Features.Scanning.ScanningRegistrationExtensions.IsAssignableToClosed(System.Type,System.Type)">
|
|
<summary>Determines whether the candidate type supports any base or interface that closes the
|
|
provided generic service type.</summary>
|
|
<param name="candidateType">The type that is being checked for the interface.</param>
|
|
<param name="openGenericServiceType">The open generic type to locate.</param>
|
|
<returns>True if an interface was found; otherwise false.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Features.Scanning.ScanningRegistrationExtensions.GetServicesThatClose(System.Type,System.Type)">
|
|
<summary>Returns the first concrete interface supported by the candidate type that
|
|
closes the provided open generic service type.</summary>
|
|
<param name="candidateType">The type that is being checked for the interface.</param>
|
|
<param name="openGenericServiceType">The open generic type to locate.</param>
|
|
<returns>The type of the interface.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Features.Scanning.ScanningRegistrationExtensions.FindAssignableTypesThatClose(System.Type,System.Type)">
|
|
<summary>
|
|
Looks for an interface on the candidate type that closes the provided open generic interface type.
|
|
</summary>
|
|
<param name="candidateType">The type that is being checked for the interface.</param>
|
|
<param name="openGenericServiceType">The open generic service type to locate.</param>
|
|
<returns>True if a closed implementation was found; otherwise false.</returns>
|
|
</member>
|
|
<member name="T:Autofac.Features.Scanning.ScanningRegistrationExtensionsResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Features.Scanning.ScanningRegistrationExtensionsResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Features.Scanning.ScanningRegistrationExtensionsResources.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.Features.Scanning.ScanningRegistrationExtensionsResources.NotOpenGenericType">
|
|
<summary>
|
|
Looks up a localized string similar to The type '{0}' is not an open generic class or interface type..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Module">
|
|
<summary>
|
|
Base class for user-defined modules. Modules can add a set of releated components
|
|
to a container (<see cref="M:Autofac.Module.Load(Autofac.ContainerBuilder)"/>) or attach cross-cutting functionality
|
|
to other components (<see cref="M:Autofac.Module.AttachToComponentRegistration(Autofac.Core.IComponentRegistry,Autofac.Core.IComponentRegistration)"/>.
|
|
Modules are given special support in the XML configuration feature - see
|
|
http://code.google.com/p/autofac/wiki/StructuringWithModules.
|
|
</summary>
|
|
<remarks>Provides a user-friendly way to implement <see cref="T:Autofac.Core.IModule"/>
|
|
via <see cref="T:Autofac.ContainerBuilder"/>.</remarks>
|
|
<example>
|
|
Defining a module:
|
|
<code>
|
|
public class DataAccessModule : Module
|
|
{
|
|
public string ConnectionString { get; set; }
|
|
|
|
public override void Load(ContainerBuilder moduleBuilder)
|
|
{
|
|
moduleBuilder.RegisterGeneric(typeof(MyRepository<>))
|
|
.As(typeof(IRepository<>))
|
|
.InstancePerMatchingLifetimeScope(WebLifetime.Request);
|
|
|
|
moduleBuilder.Register(c => new MyDbConnection(ConnectionString))
|
|
.As<IDbConnection>()
|
|
.InstancePerMatchingLifetimeScope(WebLifetime.Request);
|
|
}
|
|
}
|
|
</code>
|
|
Using the module:
|
|
<code>
|
|
var builder = new ContainerBuilder();
|
|
builder.RegisterModule(new DataAccessModule { ConnectionString = "..." });
|
|
var container = builder.Build();
|
|
var customers = container.Resolve<IRepository<Customer>>();
|
|
</code>
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.Module.Configure(Autofac.Core.IComponentRegistry)">
|
|
<summary>
|
|
Apply the module to the component registry.
|
|
</summary>
|
|
<param name="componentRegistry">Component registry to apply configuration to.</param>
|
|
</member>
|
|
<member name="M:Autofac.Module.Load(Autofac.ContainerBuilder)">
|
|
<summary>
|
|
Override to add registrations to the container.
|
|
</summary>
|
|
<remarks>
|
|
Note that the ContainerBuilder parameter is unique to this module.
|
|
</remarks>
|
|
<param name="builder">The builder through which components can be
|
|
registered.</param>
|
|
</member>
|
|
<member name="M:Autofac.Module.AttachToComponentRegistration(Autofac.Core.IComponentRegistry,Autofac.Core.IComponentRegistration)">
|
|
<summary>
|
|
Override to attach module-specific functionality to a
|
|
component registration.
|
|
</summary>
|
|
<remarks>This method will be called for all existing <i>and future</i> component
|
|
registrations - ordering is not important.</remarks>
|
|
<param name="componentRegistry">The component registry.</param>
|
|
<param name="registration">The registration to attach functionality to.</param>
|
|
</member>
|
|
<member name="T:Autofac.Builder.RegistrationBuilder`3">
|
|
<summary>
|
|
Data structure used to construct registrations.
|
|
</summary>
|
|
<typeparam name="TLimit">The most specific type to which instances of the registration
|
|
can be cast.</typeparam>
|
|
<typeparam name="TActivatorData">Activator builder type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style type.</typeparam>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.#ctor(`1,`2)">
|
|
<summary>
|
|
Create a IRegistrationBuilder.
|
|
</summary>
|
|
<param name="activatorData">Activator builder.</param>
|
|
<param name="style">Registration style.</param>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.ExternallyOwned">
|
|
<summary>
|
|
Configure the component so that instances are never disposed by the container.
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.OwnedByLifetimeScope">
|
|
<summary>
|
|
Configure the component so that instances that support IDisposable are
|
|
disposed by the container (default.)
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.InstancePerDependency">
|
|
<summary>
|
|
Configure the component so that every dependent component or call to Resolve()
|
|
gets a new, unique instance (default.)
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.SingleInstance">
|
|
<summary>
|
|
Configure the component so that every dependent component or call to Resolve()
|
|
gets the same, shared instance.
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.InstancePerLifetimeScope">
|
|
<summary>
|
|
Configure the component so that every dependent component or call to Resolve()
|
|
within a single ILifetimeScope gets the same, shared instance. Dependent components in
|
|
different lifetime scopes will get different instances.
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.InstancePerMatchingLifetimeScope(System.Object)">
|
|
<summary>
|
|
Configure the component so that every dependent component or call to Resolve()
|
|
within a ILifetimeScope tagged with the provided tag value gets the same, shared instance.
|
|
Dependent components in lifetime scopes that are children of the tagged scope will
|
|
share the parent's instance. If no appropriately tagged scope can be found in the
|
|
hierarchy an <see cref="T:Autofac.Core.DependencyResolutionException"/> is thrown.
|
|
</summary>
|
|
<param name="lifetimeScopeTag">Tag applied to matching lifetime scopes.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.As``1">
|
|
<summary>
|
|
Configure the services that the component will provide. The generic parameter(s) to As()
|
|
will be exposed as TypedService instances.
|
|
</summary>
|
|
<typeparam name="TService">Service type.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.As``2">
|
|
<summary>
|
|
Configure the services that the component will provide. The generic parameter(s) to As()
|
|
will be exposed as TypedService instances.
|
|
</summary>
|
|
<typeparam name="TService1">Service type.</typeparam>
|
|
<typeparam name="TService2">Service type.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.As``3">
|
|
<summary>
|
|
Configure the services that the component will provide. The generic parameter(s) to As()
|
|
will be exposed as TypedService instances.
|
|
</summary>
|
|
<typeparam name="TService1">Service type.</typeparam>
|
|
<typeparam name="TService2">Service type.</typeparam>
|
|
<typeparam name="TService3">Service type.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.As(System.Type[])">
|
|
<summary>
|
|
Configure the services that the component will provide.
|
|
</summary>
|
|
<param name="services">Service types to expose.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.As(Autofac.Core.Service[])">
|
|
<summary>
|
|
Configure the services that the component will provide.
|
|
</summary>
|
|
<param name="services">Services to expose.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.Named(System.String,System.Type)">
|
|
<summary>
|
|
Provide a textual name that can be used to retrieve the component.
|
|
</summary>
|
|
<param name="serviceName">Named service to associate with the component.</param>
|
|
<param name="serviceType">The service type provided by the component.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.Named``1(System.String)">
|
|
<summary>
|
|
Provide a textual name that can be used to retrieve the component.
|
|
</summary>
|
|
<param name="serviceName">Named service to associate with the component.</param>
|
|
<typeparam name="TService">The service type provided by the component.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.Keyed(System.Object,System.Type)">
|
|
<summary>
|
|
Provide a key that can be used to retrieve the component.
|
|
</summary>
|
|
<param name="serviceKey">Key to associate with the component.</param>
|
|
<param name="serviceType">The service type provided by the component.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.Keyed``1(System.Object)">
|
|
<summary>
|
|
Provide a key that can be used to retrieve the component.
|
|
</summary>
|
|
<param name="serviceKey">Key to associate with the component.</param>
|
|
<typeparam name="TService">The service type provided by the component.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.OnPreparing(System.Action{Autofac.Core.PreparingEventArgs})">
|
|
<summary>
|
|
Add a handler for the Preparing event. This event allows manipulating of the parameters
|
|
that will be provided to the component.
|
|
</summary>
|
|
<param name="handler">The event handler.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.OnActivating(System.Action{Autofac.Core.IActivatingEventArgs{`0}})">
|
|
<summary>
|
|
Add a handler for the Activating event.
|
|
</summary>
|
|
<param name="handler">The event handler.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.OnActivated(System.Action{Autofac.Core.IActivatedEventArgs{`0}})">
|
|
<summary>
|
|
Add a handler for the Activated event.
|
|
</summary>
|
|
<param name="handler">The event handler.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.PropertiesAutowired">
|
|
<summary>
|
|
Configure the component so that any properties whose types are registered in the
|
|
container will be wired to instances of the appropriate service.
|
|
</summary>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.PropertiesAutowired(System.Boolean)">
|
|
<summary>
|
|
Configure the component so that any properties whose types are registered in the
|
|
container will be wired to instances of the appropriate service.
|
|
</summary>
|
|
<param name="allowCircularDependencies">If set to true, the properties won't be wired until
|
|
after the component has been activated. This allows property-property and constructor-property
|
|
circularities in the dependency graph.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.WithMetadata(System.String,System.Object)">
|
|
<summary>
|
|
Associates data with the component.
|
|
</summary>
|
|
<param name="key">Key by which the data can be located.</param>
|
|
<param name="value">The data value.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.WithMetadata(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}})">
|
|
<summary>
|
|
Associates data with the component.
|
|
</summary>
|
|
<param name="properties">The extended properties to associate with the component.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationBuilder`3.WithMetadata``1(System.Action{Autofac.Builder.MetadataConfiguration{``0}})">
|
|
<summary>
|
|
Associates data with the component.
|
|
</summary>
|
|
<typeparam name="TMetadata">A type with properties whose names correspond to the
|
|
property names to configure.</typeparam>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationBuilder`3.ActivatorData">
|
|
<summary>
|
|
The activator data.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationBuilder`3.RegistrationStyle">
|
|
<summary>
|
|
The registration style.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationBuilder`3.RegistrationData">
|
|
<summary>
|
|
The registration data.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.RegistrationData">
|
|
<summary>
|
|
Data common to all registrations made in the container, both direct (IComponentRegistration)
|
|
and dynamic (IRegistrationSource.)
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationData.CopyFrom(Autofac.Builder.RegistrationData)">
|
|
<summary>
|
|
Copies from.
|
|
</summary>
|
|
<param name="that">The that.</param>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationData.Services">
|
|
<summary>
|
|
The services explicitly assigned to the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationData.DefaultServiceOverridden">
|
|
<summary>
|
|
If set to true, the "default" service for this registration will not
|
|
be applied.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationData.Ownership">
|
|
<summary>
|
|
The instance ownership assigned to the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationData.Lifetime">
|
|
<summary>
|
|
The lifetime assigned to the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationData.Sharing">
|
|
<summary>
|
|
The sharing mode assigned to the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationData.Metadata">
|
|
<summary>
|
|
Extended properties assigned to the component.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationData.PreparingHandlers">
|
|
<summary>
|
|
Handlers for the Preparing event.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationData.ActivatingHandlers">
|
|
<summary>
|
|
Handlers for the Activating event.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.RegistrationData.ActivatedHandlers">
|
|
<summary>
|
|
Handlers for the Activated event.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.RegistrationExtensions">
|
|
<summary>
|
|
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.RegisterComponent(Autofac.ContainerBuilder,Autofac.Core.IComponentRegistration)">
|
|
<summary>
|
|
Add a component to the container.
|
|
</summary>
|
|
<param name="builder">The builder to register the component with.</param>
|
|
<param name="registration">The component to add.</param>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.RegisterSource(Autofac.ContainerBuilder,Autofac.Core.IRegistrationSource)">
|
|
<summary>
|
|
Add a registration source to the container.
|
|
</summary>
|
|
<param name="builder">The builder to register the registration source via.</param>
|
|
<param name="registrationSource">The registration source to add.</param>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.RegisterInstance``1(Autofac.ContainerBuilder,``0)">
|
|
<summary>
|
|
Register an instance as a component.
|
|
</summary>
|
|
<typeparam name="T">The type of the instance.</typeparam>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="instance">The instance to register.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
<remarks>If no services are explicitly specified for the instance, the
|
|
static type <typeparamref name="T"/> will be used as the default service (i.e. *not* <code>instance.GetType()</code>).</remarks>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.RegisterType``1(Autofac.ContainerBuilder)">
|
|
<summary>
|
|
Register a component to be created through reflection.
|
|
</summary>
|
|
<typeparam name="TImplementor">The type of the component implementation.</typeparam>
|
|
<param name="builder">Container builder.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.RegisterType(Autofac.ContainerBuilder,System.Type)">
|
|
<summary>
|
|
Register a component to be created through reflection.
|
|
</summary>
|
|
<param name="implementationType">The type of the component implementation.</param>
|
|
<param name="builder">Container builder.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.Register``1(Autofac.ContainerBuilder,System.Func{Autofac.IComponentContext,``0})">
|
|
<summary>
|
|
Register a delegate as a component.
|
|
</summary>
|
|
<typeparam name="T">The type of the instance.</typeparam>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="delegate">The delegate to register.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.Register``1(Autofac.ContainerBuilder,System.Func{Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},``0})">
|
|
<summary>
|
|
Register a delegate as a component.
|
|
</summary>
|
|
<typeparam name="T">The type of the instance.</typeparam>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="delegate">The delegate to register.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.RegisterGeneric(Autofac.ContainerBuilder,System.Type)">
|
|
<summary>
|
|
Register an un-parameterised generic type, e.g. Repository<>.
|
|
Concrete types will be made as they are requested, e.g. with Resolve<Repository<int>>().
|
|
</summary>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="implementor">The open generic implementation type.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.PreserveExistingDefaults``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
|
<summary>
|
|
Specifies that the component being registered should only be made the default for services
|
|
that have not already been registered.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TSingleRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.RegisterAssemblyTypes(Autofac.ContainerBuilder,System.Reflection.Assembly[])">
|
|
<summary>
|
|
Register the types in an assembly.
|
|
</summary>
|
|
<param name="builder">Container builder.</param>
|
|
<param name="assemblies">The assemblies from which to register types.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.Where``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Func{System.Type,System.Boolean})">
|
|
<summary>
|
|
Specifies a subset of types to register from a scanned assembly.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to filter types from.</param>
|
|
<param name="predicate">Predicate that returns true for types to register.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.As``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Func{System.Type,System.Collections.Generic.IEnumerable{Autofac.Core.Service}})">
|
|
<summary>
|
|
Specifies how a type from a scanned assembly is mapped to a service.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<param name="serviceMapping">Function mapping types to services.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.As``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Func{System.Type,Autofac.Core.Service})">
|
|
<summary>
|
|
Specifies how a type from a scanned assembly is mapped to a service.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<param name="serviceMapping">Function mapping types to services.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.As``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Func{System.Type,System.Type})">
|
|
<summary>
|
|
Specifies how a type from a scanned assembly is mapped to a service.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<param name="serviceMapping">Function mapping types to services.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.AsSelf``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
|
<summary>
|
|
Specifies that a type from a scanned assembly provides its own concrete type as a service.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.WithMetadata``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Func{System.Type,System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}}})">
|
|
<summary>
|
|
Specify how a type from a scanned assembly provides metadata.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<param name="metadataMapping">A function mapping the type to a list of metadata items.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.WithMetadata``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.String,System.Func{System.Type,System.Object})">
|
|
<summary>
|
|
Specify how a type from a scanned assembly provides metadata.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<param name="metadataKey">Key of the metadata item.</param>
|
|
<param name="metadataValueMapping">A function retrieving the value of the item from the component type.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.Named``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Func{System.Type,System.String},System.Type)">
|
|
<summary>
|
|
Specifies how a type from a scanned assembly is mapped to a service.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<param name="serviceType">Service type provided by the component.</param>
|
|
<param name="serviceNameMapping">Function mapping types to service names.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.AsImplementedInterfaces``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2})">
|
|
<summary>
|
|
Specifies that a type from a scanned assembly is registered as providing all of its
|
|
implemented interfaces.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.FindConstructorsWith``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Reflection.BindingFlags)">
|
|
<summary>
|
|
Set the policy used to find candidate constructors on the implementation type.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<param name="registration">Registration to set policy on.</param>
|
|
<param name="bindingFlags">Binding flags used when searching for constructors.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.FindConstructorsWith``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},Autofac.Core.Activators.Reflection.IConstructorFinder)">
|
|
<summary>
|
|
Set the policy used to find candidate constructors on the implementation type.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<param name="registration">Registration to set policy on.</param>
|
|
<param name="constructorFinder">Policy to be used when searching for constructors.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.UsingConstructor``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type[])">
|
|
<summary>
|
|
Set the policy used to select from available constructors on the implementation type.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<param name="registration">Registration to set policy on.</param>
|
|
<param name="signature">Constructor signature to match.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.UsingConstructor``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},Autofac.Core.Activators.Reflection.IConstructorSelector)">
|
|
<summary>
|
|
Set the policy used to select from available constructors on the implementation type.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set policy on.</param>
|
|
<param name="constructorSelector">Policy to be used when selecting a constructor.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.WithParameter``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.String,System.Object)">
|
|
<summary>
|
|
Configure an explicit value for a constructor parameter.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set parameter on.</param>
|
|
<param name="parameterName">Name of a constructor parameter on the target type.</param>
|
|
<param name="parameterValue">Value to supply to the parameter.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.WithParameter``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},Autofac.Core.Parameter)">
|
|
<summary>
|
|
Configure an explicit value for a constructor parameter.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set parameter on.</param>
|
|
<param name="parameter">The parameter to supply to the constructor.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.WithParameters``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Configure explicit values for constructor parameters.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set parameter on.</param>
|
|
<param name="parameters">The parameters to supply to the constructor.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.WithProperty``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.String,System.Object)">
|
|
<summary>
|
|
Configure an explicit value for a property.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set property on.</param>
|
|
<param name="propertyName">Name of a property on the target type.</param>
|
|
<param name="propertyValue">Value to supply to the property.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.WithProperty``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},Autofac.Core.Parameter)">
|
|
<summary>
|
|
Configure an explicit value for a property.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set parameter on.</param>
|
|
<param name="property">The property to supply.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.WithProperties``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Configure explicit values for properties.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TStyle">Registration style.</typeparam>
|
|
<typeparam name="TReflectionActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set parameter on.</param>
|
|
<param name="properties">The properties to supply.</param>
|
|
<returns>A registration builder allowing further configuration of the component.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.Targeting``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},Autofac.Core.IComponentRegistration)">
|
|
<summary>
|
|
Sets the target of the registration (used for metadata generation.)
|
|
</summary>
|
|
<typeparam name="TLimit">The type of the limit.</typeparam>
|
|
<typeparam name="TActivatorData">The type of the activator data.</typeparam>
|
|
<typeparam name="TSingleRegistrationStyle">Registration style</typeparam>
|
|
<param name="registration">Registration to set target for.</param>
|
|
<param name="target">The target.</param>
|
|
<returns>
|
|
Registration builder allowing the registration to be configured.
|
|
</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.OnRegistered``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Action{Autofac.Core.ComponentRegisteredEventArgs})">
|
|
<summary>
|
|
Provide a handler to be called when the component is registered.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TSingleRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration add handler to.</param>
|
|
<param name="handler">The handler.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.OnRegistered``2(Autofac.Builder.IRegistrationBuilder{``0,Autofac.Features.Scanning.ScanningActivatorData,``1},System.Action{Autofac.Core.ComponentRegisteredEventArgs})">
|
|
<summary>
|
|
Provide a handler to be called when the component is registred.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<param name="registration">Registration add handler to.</param>
|
|
<param name="handler">The handler.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.AsClosedTypesOf``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type)">
|
|
<summary>
|
|
Specifies that a type from a scanned assembly is registered if it implements an interface
|
|
that closes the provided open generic interface type.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to set service mapping on.</param>
|
|
<param name="openGenericServiceType">The open generic interface or base class type for which implementations will be found.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.AssignableTo``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.Type)">
|
|
<summary>
|
|
Filters the scanned types to include only those assignable to the provided
|
|
type.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to filter types from.</param>
|
|
<param name="type">The type or interface which all classes must be assignable from.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.AssignableTo``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Features.Scanning.ScanningActivatorData,Autofac.Builder.DynamicRegistrationStyle})">
|
|
<summary>
|
|
Filters the scanned types to include only those assignable to the provided
|
|
type.
|
|
</summary>
|
|
<param name="registration">Registration to filter types from.</param>
|
|
<typeparam name="T">The type or interface which all classes must be assignable from.</typeparam>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.Except``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Features.Scanning.ScanningActivatorData,Autofac.Builder.DynamicRegistrationStyle})">
|
|
<summary>
|
|
Filters the scanned types to exclude the provided type.
|
|
</summary>
|
|
<param name="registration">Registration to filter types from.</param>
|
|
<typeparam name="T">The concrete type to exclude.</typeparam>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.InNamespaceOf``1(Autofac.Builder.IRegistrationBuilder{System.Object,Autofac.Features.Scanning.ScanningActivatorData,Autofac.Builder.DynamicRegistrationStyle})">
|
|
<summary>
|
|
Filters the scanned types to include only those in the namespace of the provided type
|
|
or one of its sub-namespaces.
|
|
</summary>
|
|
<param name="registration">Registration to filter types from.</param>
|
|
<typeparam name="T">A type in the target namespace.</typeparam>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="M:Autofac.RegistrationExtensions.InNamespace``3(Autofac.Builder.IRegistrationBuilder{``0,``1,``2},System.String)">
|
|
<summary>
|
|
Filters the scanned types to include only those in the provided namespace
|
|
or one of its sub-namespaces.
|
|
</summary>
|
|
<typeparam name="TLimit">Registration limit type.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
<typeparam name="TScanningActivatorData">Activator data type.</typeparam>
|
|
<param name="registration">Registration to filter types from.</param>
|
|
<param name="ns">The namespace from which types will be selected.</param>
|
|
<returns>Registration builder allowing the registration to be configured.</returns>
|
|
</member>
|
|
<member name="T:Autofac.RegistrationExtensionsResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.RegistrationExtensionsResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.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.RegistrationExtensionsResources.InstanceRegistrationsAreSingleInstanceOnly">
|
|
<summary>
|
|
Looks up a localized string similar to The instance registration '{0}' can support SingleInstance() sharing only..
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.RegistrationExtensionsResources.NoMatchingConstructorExists">
|
|
<summary>
|
|
Looks up a localized string similar to No matching constructor exists on type '{0}'..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.RegistrationSource`3">
|
|
<summary>
|
|
Registration source based on a registration builder.
|
|
</summary>
|
|
<typeparam name="TLimit">LimitType for the registration.</typeparam>
|
|
<typeparam name="TActivatorData">Type of activator data.</typeparam>
|
|
<typeparam name="TRegistrationStyle">Registration style.</typeparam>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationSource`3.#ctor(Autofac.Builder.IRegistrationBuilder{`0,`1,`2},Autofac.Builder.IActivatorGenerator{`1})">
|
|
<summary>
|
|
Try to generate registrations using the provided activator generator, with
|
|
the data from the provided registration.
|
|
</summary>
|
|
<param name="builder">Registration data.</param>
|
|
<param name="activatorGenerator">Activator generator.</param>
|
|
</member>
|
|
<member name="M:Autofac.Builder.RegistrationSource`3.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="T:Autofac.Builder.SimpleActivatorData">
|
|
<summary>
|
|
An activator builder with no parameters.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Builder.SimpleActivatorData.#ctor(Autofac.Core.IInstanceActivator)">
|
|
<summary>
|
|
Return the provided activator.
|
|
</summary>
|
|
<param name="activator">The activator to return.</param>
|
|
</member>
|
|
<member name="P:Autofac.Builder.SimpleActivatorData.Activator">
|
|
<summary>
|
|
Gets the activator.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Builder.SingleRegistrationStyle">
|
|
<summary>
|
|
Registration style for individual components.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Builder.SingleRegistrationStyle.#ctor(System.Type)">
|
|
<summary>
|
|
Create a new SingleRegistrationStyle.
|
|
</summary>
|
|
<param name="defaultServiceType">The type that will be used as the default service if
|
|
no other services are configured.</param>
|
|
</member>
|
|
<member name="P:Autofac.Builder.SingleRegistrationStyle.Id">
|
|
<summary>
|
|
The id used for the registration.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.SingleRegistrationStyle.RegisteredHandlers">
|
|
<summary>
|
|
Handlers to notify of the component registration event.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.SingleRegistrationStyle.PreserveDefaults">
|
|
<summary>
|
|
By default, new registrations override existing registrations as defaults.
|
|
If set to true, new registrations will not change existing defaults.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.SingleRegistrationStyle.Target">
|
|
<summary>
|
|
The component upon which this registration is based.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Builder.SingleRegistrationStyle.DefaultServiceType">
|
|
<summary>
|
|
The type that will be used as the default service if
|
|
no other services are configured.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.ContainerBuilder">
|
|
<summary>
|
|
Used to build an <see cref="T:Autofac.IContainer"/> from component registrations.
|
|
</summary>
|
|
<example>
|
|
<code>
|
|
var builder = new ContainerBuilder();
|
|
|
|
builder.RegisterType<Logger>()
|
|
.As<ILogger>()
|
|
.SingleInstance();
|
|
|
|
builder.Register(c => new MessageHandler(c.Resolve<ILogger>()));
|
|
|
|
var container = builder.Build();
|
|
// resolve components from container...
|
|
</code>
|
|
</example>
|
|
<remarks>Most <see cref="T:Autofac.ContainerBuilder"/> functionality is accessed
|
|
via extension methods in <see cref="T:Autofac.RegistrationExtensions"/>.</remarks>
|
|
<seealso cref="T:Autofac.IContainer"/>
|
|
<see cref="T:Autofac.RegistrationExtensions"/>
|
|
</member>
|
|
<member name="M:Autofac.ContainerBuilder.RegisterCallback(System.Action{Autofac.Core.IComponentRegistry})">
|
|
<summary>
|
|
Register a callback that will be invoked when the container is configured.
|
|
</summary>
|
|
<remarks>This is primarily for extending the builder syntax.</remarks>
|
|
<param name="configurationCallback">Callback to execute.</param>
|
|
</member>
|
|
<member name="M:Autofac.ContainerBuilder.Build">
|
|
<summary>
|
|
Create a new container with the component registrations that have been made.
|
|
</summary>
|
|
<remarks>
|
|
Build can only be called once per <see cref="T:Autofac.ContainerBuilder"/>
|
|
- this prevents ownership issues for provided instances.
|
|
</remarks>
|
|
<returns>A new container with the configured component registrations.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ContainerBuilder.Build(Autofac.Core.IComponentRegistry)">
|
|
<summary>
|
|
Configure an existing component registry with the component registrations
|
|
that have been made.
|
|
</summary>
|
|
<remarks>
|
|
Build can only be called once per <see cref="T:Autofac.ContainerBuilder"/>
|
|
- this prevents ownership issues for provided instances.
|
|
</remarks>
|
|
<param name="componentRegistry">An existing component registry to make the registrations in.</param>
|
|
</member>
|
|
<member name="P:Autofac.ContainerBuilder.ExcludeDefaultModules">
|
|
<summary>
|
|
If set to true, standard container functionality like resolve-all, auto-generated
|
|
factories and owned-instances will not be registered by this builder.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.NamedParameter">
|
|
<summary>
|
|
A parameter identified by name. When applied to a reflection-based
|
|
component, <see cref="P:Autofac.NamedParameter.Name"/> will be matched against
|
|
the name of the component's constructor arguments. When applied to
|
|
a delegate-based component, the parameter can be accessed using
|
|
<see cref="M:Autofac.ParameterExtensions.Named``1(System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.String)"/>.
|
|
</summary>
|
|
<example>
|
|
Component with parameter:
|
|
<code>
|
|
public class MyComponent
|
|
{
|
|
public MyComponent(int amount) { ... }
|
|
}
|
|
</code>
|
|
Providing the parameter:
|
|
<code>
|
|
var builder = new ContainerBuilder();
|
|
builder.RegisterType<MyComponent>();
|
|
var container = builder.Build();
|
|
var myComponent = container.Resolve<MyComponent>(new NamedParameter("amount", 123));
|
|
</code>
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.NamedParameter.#ctor(System.String,System.Object)">
|
|
<summary>
|
|
Create a <see cref="T:Autofac.NamedParameter"/> with the specified constant value.
|
|
</summary>
|
|
<param name="name">The name of the parameter.</param>
|
|
<param name="value">The parameter value.</param>
|
|
</member>
|
|
<member name="P:Autofac.NamedParameter.Name">
|
|
<summary>
|
|
The name of the parameter.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.ParameterExtensions">
|
|
<summary>
|
|
Extension methods that simplify extraction of parameter values from
|
|
an <see cref="T:System.Collections.Generic.IEnumerable`1"/> where T is <see cref="T:Autofac.Core.Parameter"/>.
|
|
Each method returns the first matching parameter value, or throws an exception if
|
|
none is provided.
|
|
</summary>
|
|
<example>
|
|
At configuration time, delegate registrations can retrieve parameter values using
|
|
the methods <see cref="M:Autofac.ParameterExtensions.Named``1(System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.String)"/>, <see cref="M:Autofac.ParameterExtensions.Positional``1(System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Int32)"/> and <see cref="M:Autofac.ParameterExtensions.TypedAs``1(System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})"/>:
|
|
<code>
|
|
builder.Register((c, p) => new FtpClient(p.Named<string>("server")));
|
|
</code>
|
|
These parameters can be provided at resolution time:
|
|
<code>
|
|
container.Resolve<FtpClient>(new NamedParameter("server", "ftp.example.com"));
|
|
</code>
|
|
Alternatively, the parameters can be provided via a <i>Generated Factory</i> - http://code.google.com/p/autofac/wiki/DelegateFactories.
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.ParameterExtensions.Named``1(System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.String)">
|
|
<summary>
|
|
Retrieve a named parameter value from a <see cref="T:Autofac.NamedParameter"/> instance.
|
|
</summary>
|
|
<typeparam name="T">The type to which the returned value will be cast.</typeparam>
|
|
<param name="parameters">The available parameters to choose from.</param>
|
|
<param name="name">The name of the parameter to select.</param>
|
|
<returns>The value of the selected parameter.</returns>
|
|
<seealso cref="T:Autofac.NamedParameter"/>
|
|
</member>
|
|
<member name="M:Autofac.ParameterExtensions.Positional``1(System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Int32)">
|
|
<summary>
|
|
Retrieve a positional parameter value from a <see cref="T:Autofac.PositionalParameter"/> instance.
|
|
</summary>
|
|
<typeparam name="T">The type to which the returned value will be cast.</typeparam>
|
|
<param name="parameters">The available parameters to choose from.</param>
|
|
<param name="position">The zero-based position of the parameter to select.</param>
|
|
<returns>The value of the selected parameter.</returns>
|
|
<remarks>The position value is the one associated with the parameter when
|
|
it was constructed, <b>not</b> its index into the <paramref name="parameters"/>
|
|
sequence.</remarks>
|
|
<seealso cref="T:Autofac.PositionalParameter"/>
|
|
</member>
|
|
<member name="M:Autofac.ParameterExtensions.TypedAs``1(System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Retrieve a typed parameter value from a <see cref="T:Autofac.TypedParameter"/> instance.
|
|
</summary>
|
|
<typeparam name="T">The type to which the returned value will be cast.</typeparam>
|
|
<param name="parameters">The available parameters to choose from.</param>
|
|
<returns>The value of the selected parameter.</returns>
|
|
<seealso cref="T:Autofac.TypedParameter"/>
|
|
</member>
|
|
<member name="T:Autofac.PositionalParameter">
|
|
<summary>
|
|
A parameter that is identified according to an integer representing its
|
|
position in an argument list. When applied to a reflection-based
|
|
component, <see cref="P:Autofac.PositionalParameter.Position"/> will be matched against
|
|
the indices of the component's constructor arguments. When applied to
|
|
a delegate-based component, the parameter can be accessed using
|
|
<see cref="M:Autofac.ParameterExtensions.Positional``1(System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Int32)"/>.
|
|
</summary>
|
|
<example>
|
|
Component with parameter:
|
|
<code>
|
|
public class MyComponent
|
|
{
|
|
public MyComponent(int amount) { ... }
|
|
}
|
|
</code>
|
|
Providing the parameter:
|
|
<code>
|
|
var builder = new ContainerBuilder();
|
|
builder.RegisterType<MyComponent>();
|
|
var container = builder.Build();
|
|
var myComponent = container.Resolve<MyComponent>(new PositionalParameter(0, 123));
|
|
</code>
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.PositionalParameter.#ctor(System.Int32,System.Object)">
|
|
<summary>
|
|
Construct a positional parameter with the specified constant value.
|
|
</summary>
|
|
<param name="position">The zero-based position of the parameter.</param>
|
|
<param name="value">The parameter value.</param>
|
|
</member>
|
|
<member name="P:Autofac.PositionalParameter.Position">
|
|
<summary>
|
|
The zero-based position of the parameter.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.ResolutionExtensions">
|
|
<summary>
|
|
Adds syntactic convenience methods to the <see cref="T:Autofac.IComponentContext"/> interface.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.InjectProperties``1(Autofac.IComponentContext,``0)">
|
|
<summary>
|
|
Set any properties on <paramref name="instance"/> that can be
|
|
resolved in the context.
|
|
</summary>
|
|
<typeparam name="TService">Type of instance. Used only to provide method chaining.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="instance">The instance to inject properties into.</param>
|
|
<returns><paramref name="instance"/>.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.InjectUnsetProperties``1(Autofac.IComponentContext,``0)">
|
|
<summary>
|
|
Set any null-valued properties on <paramref name="instance"/> that can be
|
|
resolved by the container.
|
|
</summary>
|
|
<typeparam name="TService">Type of instance. Used only to provide method chaining.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="instance">The instance to inject properties into.</param>
|
|
<returns><paramref name="instance"/>.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.Resolve``1(Autofac.IComponentContext,System.Guid)">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<typeparam name="TService">The type to which the result will be cast.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="registrationId">Identity of the registration providing 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.Resolve``1(Autofac.IComponentContext,System.Guid,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<typeparam name="TService">The type to which the result will be cast.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="registrationId">Identity of the registration providing 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.Resolve``1(Autofac.IComponentContext,System.Guid,Autofac.Core.Parameter[])">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<typeparam name="TService">The type to which the result will be cast.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="registrationId">Identity of the registration providing 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.Resolve``1(Autofac.IComponentContext,System.String)">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<typeparam name="TService">The type to which the result will be cast.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceName">Name 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.Resolve``1(Autofac.IComponentContext,System.String,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<typeparam name="TService">The type to which the result will be cast.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceName">Name 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.Resolve``1(Autofac.IComponentContext,System.String,Autofac.Core.Parameter[])">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<typeparam name="TService">The type to which the result will be cast.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceName">Name 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.Resolve``1(Autofac.IComponentContext)">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<typeparam name="TService">The service to retrieve.</typeparam>
|
|
<param name="context">The context from which to resolve 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.Resolve``1(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<typeparam name="TService">The type to which the result will be cast.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="parameters">Parameters for 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.Resolve``1(Autofac.IComponentContext,Autofac.Core.Parameter[])">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<typeparam name="TService">The type to which the result will be cast.</typeparam>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="parameters">Parameters for 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.Resolve(Autofac.IComponentContext,System.Type)">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceType">The service type.</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.Resolve(Autofac.IComponentContext,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="parameters">Parameters for the service.</param>
|
|
<param name="serviceType">The service type.</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.Resolve(Autofac.IComponentContext,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="parameters">Parameters for the service.</param>
|
|
<param name="serviceType">The service type.</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.Resolve(Autofac.IComponentContext,System.String,System.Type)">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceName">The service name.</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.Resolve(Autofac.IComponentContext,System.String,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="parameters">Parameters for the service.</param>
|
|
<param name="serviceName">The service name.</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.Resolve(Autofac.IComponentContext,System.String,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="parameters">Parameters for the service.</param>
|
|
<param name="serviceName">The service name.</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.Resolve(Autofac.IComponentContext,Autofac.Core.Service)">
|
|
<summary>
|
|
Retrieve a service from the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="service">The service to resolve.</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.Resolve(Autofac.IComponentContext,Autofac.Core.Service,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="parameters">Parameters for the service.</param>
|
|
<param name="service">The service to resolve.</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.Resolve(Autofac.IComponentContext,Autofac.Core.Service,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="parameters">Parameters for the service.</param>
|
|
<param name="service">The service to resolve.</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.ResolveOptional``1(Autofac.IComponentContext)">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<typeparam name="TService">The service to resolve.</typeparam>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional``1(Autofac.IComponentContext,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="parameters">Parameters for the service.</param>
|
|
<typeparam name="TService">The service to resolve.</typeparam>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional``1(Autofac.IComponentContext,Autofac.Core.Parameter[])">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="parameters">Parameters for the service.</param>
|
|
<typeparam name="TService">The service to resolve.</typeparam>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional``1(Autofac.IComponentContext,System.String)">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceName">The name of the service.</param>
|
|
<typeparam name="TService">The service to resolve.</typeparam>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional``1(Autofac.IComponentContext,System.String,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="parameters">Parameters for the service.</param>
|
|
<param name="serviceName">The name of the service.</param>
|
|
<typeparam name="TService">The service to resolve.</typeparam>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional``1(Autofac.IComponentContext,System.String,Autofac.Core.Parameter[])">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="parameters">Parameters for the service.</param>
|
|
<param name="serviceName">The name of the service.</param>
|
|
<typeparam name="TService">The service to resolve.</typeparam>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional(Autofac.IComponentContext,System.Type)">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceType">The type of the service.</param>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional(Autofac.IComponentContext,System.Type,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="parameters">Parameters for the service.</param>
|
|
<param name="serviceType">The type of the service.</param>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional(Autofac.IComponentContext,System.Type,Autofac.Core.Parameter[])">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="parameters">Parameters for the service.</param>
|
|
<param name="serviceType">The type of the service.</param>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional(Autofac.IComponentContext,Autofac.Core.Service)">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="service">The service.</param>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional(Autofac.IComponentContext,Autofac.Core.Service,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="service">The service.</param>
|
|
<param name="parameters">Parameters for the service.</param>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.ResolveOptional(Autofac.IComponentContext,Autofac.Core.Service,Autofac.Core.Parameter[])">
|
|
<summary>
|
|
Retrieve a service from the context, or null if the service is not
|
|
registered.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="service">The service.</param>
|
|
<param name="parameters">Parameters for the service.</param>
|
|
<returns>
|
|
The component instance that provides the service, or null.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.IsRegistered``1(Autofac.IComponentContext)">
|
|
<summary>
|
|
Determine whether the specified service is available in the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<typeparam name="TService">The service to test for the registration of.</typeparam>
|
|
<returns>True if the service is registered.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.IsRegistered(Autofac.IComponentContext,System.Type)">
|
|
<summary>
|
|
Determine whether the specified service is available in the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceType">The service to test for the registration of.</param>
|
|
<returns>True if the service is registered.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.IsRegistered(Autofac.IComponentContext,System.String,System.Type)">
|
|
<summary>
|
|
Determine whether the specified service is available in the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceName">The name of the service to test for the registration of.</param>
|
|
<param name="serviceType">Type type of the service to test for the registration of.</param>
|
|
<returns>True if the service is registered.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.IsRegistered``1(Autofac.IComponentContext,System.String)">
|
|
<summary>
|
|
Determine whether the specified service is available in the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceName">The name of the service to test for the registration of.</param>
|
|
<typeparam name="TService">Type type of the service to test for the registration of.</typeparam>
|
|
<returns>True if the service is registered.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.IsRegistered(Autofac.IComponentContext,Autofac.Core.Service)">
|
|
<summary>
|
|
Determine whether the specified service is available in the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="service">The service to test for the registration of.</param>
|
|
<returns>True if the service is registered.</returns>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.TryResolve(Autofac.IComponentContext,Autofac.Core.Service,System.Collections.Generic.IEnumerable{Autofac.Core.Parameter},System.Object@)">
|
|
<summary>
|
|
Try to retrieve a service from the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="service">The service to resolve.</param>
|
|
<param name="instance">The resulting component instance providing the service, or null.</param>
|
|
<param name="parameters">The parameters.</param>
|
|
<returns>
|
|
True if a component providing the service is available.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.TryResolve(Autofac.IComponentContext,Autofac.Core.Service,System.Object@)">
|
|
<summary>
|
|
Try to retrieve a service from the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="service">The service to resolve.</param>
|
|
<param name="instance">The resulting component instance providing the service, or null.</param>
|
|
<returns>
|
|
True if a component providing the service is available.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.TryResolve(Autofac.IComponentContext,System.Type,System.Object@)">
|
|
<summary>
|
|
Try to retrieve a service from the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceType">The service type to resolve.</param>
|
|
<param name="instance">The resulting component instance providing the service, or null.</param>
|
|
<returns>
|
|
True if a component providing the service is available.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="M:Autofac.ResolutionExtensions.TryResolve(Autofac.IComponentContext,System.String,System.Type,System.Object@)">
|
|
<summary>
|
|
Try to retrieve a service from the context.
|
|
</summary>
|
|
<param name="context">The context from which to resolve the service.</param>
|
|
<param name="serviceName">The name of the service to resolve.</param>
|
|
<param name="serviceType">The type of the service to resolve.</param>
|
|
<param name="instance">The resulting component instance providing the service, or null.</param>
|
|
<returns>
|
|
True if a component providing the service is available.
|
|
</returns>
|
|
<exception cref="T:Autofac.Core.DependencyResolutionException"/>
|
|
</member>
|
|
<member name="T:Autofac.Core.ResolvedParameter">
|
|
<summary>
|
|
Flexible parameter type allows arbitrary values to be retrieved
|
|
from the resolution context.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Core.ResolvedParameter.#ctor(System.Func{System.Reflection.ParameterInfo,Autofac.IComponentContext,System.Boolean},System.Func{System.Reflection.ParameterInfo,Autofac.IComponentContext,System.Object})">
|
|
<summary>
|
|
Create an instance of the ResolvedParameter class.
|
|
</summary>
|
|
<param name="predicate">A predicate that determines which parameters on a constructor will be supplied by this instance.</param>
|
|
<param name="valueAccessor">A function that supplies the parameter value given the context.</param>
|
|
</member>
|
|
<member name="M:Autofac.Core.ResolvedParameter.CanSupplyValue(System.Reflection.ParameterInfo,Autofac.IComponentContext,System.Func{System.Object}@)">
|
|
<summary>
|
|
Returns true if the parameter is able to provide a value to a particular site.
|
|
</summary>
|
|
<param name="pi">Constructor, method, or property-mutator parameter.</param>
|
|
<param name="context">The component context in which the value is being provided.</param>
|
|
<param name="valueProvider">If the result is true, the valueProvider parameter will
|
|
be set to a function that will lazily retrieve the parameter value. If the result is false,
|
|
will be set to null.</param>
|
|
<returns>True if a value can be supplied; otherwise, false.</returns>
|
|
</member>
|
|
<member name="T:Autofac.TypedParameter">
|
|
<summary>
|
|
A parameter that can supply values to sites that exactly
|
|
match a specified type. When applied to a reflection-based
|
|
component, <see cref="P:Autofac.TypedParameter.Type"/> will be matched against
|
|
the types of the component's constructor arguments. When applied to
|
|
a delegate-based component, the parameter can be accessed using
|
|
<see cref="M:Autofac.ParameterExtensions.TypedAs``1(System.Collections.Generic.IEnumerable{Autofac.Core.Parameter})"/>.
|
|
</summary>
|
|
<example>
|
|
Component with parameter:
|
|
<code>
|
|
public class MyComponent
|
|
{
|
|
public MyComponent(int amount) { ... }
|
|
}
|
|
</code>
|
|
Providing the parameter:
|
|
<code>
|
|
var builder = new ContainerBuilder();
|
|
builder.RegisterType<MyComponent>();
|
|
var container = builder.Build();
|
|
var myComponent = container.Resolve<MyComponent>(new TypedParameter(typeof(int), 123));
|
|
</code>
|
|
</example>
|
|
</member>
|
|
<member name="M:Autofac.TypedParameter.#ctor(System.Type,System.Object)">
|
|
<summary>
|
|
Create a typed parameter with the specified constant value.
|
|
</summary>
|
|
<param name="type">The exact type to match.</param>
|
|
<param name="value">The parameter value.</param>
|
|
</member>
|
|
<member name="M:Autofac.TypedParameter.From``1(``0)">
|
|
<summary>
|
|
Shortcut for creating <see cref="T:Autofac.TypedParameter"/>
|
|
by using the <typeparamref name="T"/>
|
|
</summary>
|
|
<typeparam name="T">type to be used for the parameter</typeparam>
|
|
<param name="value">The parameter value.</param>
|
|
<returns>new typed parameter</returns>
|
|
</member>
|
|
<member name="P:Autofac.TypedParameter.Type">
|
|
<summary>
|
|
The type against which targets are matched.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Util.Enforce">
|
|
<summary>
|
|
Helper methods used throughout the codebase.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.Util.Enforce.ArgumentNotNull``1(``0,System.String)">
|
|
<summary>
|
|
Enforce that an argument is not null. Returns the
|
|
value if valid so that it can be used inline in
|
|
base initialiser syntax.
|
|
</summary>
|
|
<typeparam name="T"></typeparam>
|
|
<param name="value"></param>
|
|
<param name="name"></param>
|
|
<returns><paramref name="value"/></returns>
|
|
</member>
|
|
<member name="M:Autofac.Util.Enforce.ArgumentElementNotNull``1(``0,System.String)">
|
|
<summary>
|
|
Enforce that sequence does not contain null. Returns the
|
|
value if valid so that it can be used inline in
|
|
base initialiser syntax.
|
|
</summary>
|
|
<typeparam name="T"></typeparam>
|
|
<param name="value">The value.</param>
|
|
<param name="name">The name.</param>
|
|
<returns><paramref name="value"/></returns>
|
|
</member>
|
|
<member name="M:Autofac.Util.Enforce.NotNull``1(``0)">
|
|
<summary>
|
|
Enforces that the provided object is non-null.
|
|
</summary>
|
|
<typeparam name="T"></typeparam>
|
|
<param name="value">The value.</param>
|
|
<returns><paramref name="value"/></returns>
|
|
</member>
|
|
<member name="M:Autofac.Util.Enforce.ArgumentNotNullOrEmpty(System.String,System.String)">
|
|
<summary>
|
|
Enforce that an argument is not null or empty. Returns the
|
|
value if valid so that it can be used inline in
|
|
base initialiser syntax.
|
|
</summary>
|
|
<param name="value">The value.</param>
|
|
<param name="description">The description.</param>
|
|
<returns><paramref name="value"/></returns>
|
|
</member>
|
|
<member name="M:Autofac.Util.Enforce.ArgumentTypeIsFunction(System.Type)">
|
|
<summary>
|
|
Enforce that the argument is a delegate type.
|
|
</summary>
|
|
<param name="delegateType">The type to test.</param>
|
|
</member>
|
|
<member name="T:Autofac.Util.EnforceResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Util.EnforceResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Util.EnforceResources.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.Util.EnforceResources.CannotBeEmpty">
|
|
<summary>
|
|
Looks up a localized string similar to The argument '{0}' cannot be empty..
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Util.EnforceResources.CannotBeNull">
|
|
<summary>
|
|
Looks up a localized string similar to The object of type '{0}' cannot be null..
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Util.EnforceResources.DelegateReturnsVoid">
|
|
<summary>
|
|
Looks up a localized string similar to Type {0} returns void..
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Util.EnforceResources.ElementCannotBeNull">
|
|
<summary>
|
|
Looks up a localized string similar to The sequence provided as argument '{0}' cannot contain null elements..
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Util.EnforceResources.NotDelegate">
|
|
<summary>
|
|
Looks up a localized string similar to Type {0} is not a delegate type..
|
|
</summary>
|
|
</member>
|
|
<member name="T:Autofac.Util.ReflectionExtensions">
|
|
<summary>
|
|
Extension methods for reflection-related types.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Autofac.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.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.Util.ReflectionExtensionsResources">
|
|
<summary>
|
|
A strongly-typed resource class, for looking up localized strings, etc.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.Util.ReflectionExtensionsResources.ResourceManager">
|
|
<summary>
|
|
Returns the cached ResourceManager instance used by this class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Autofac.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.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="M:Autofac.Util.SequenceExtensions.JoinWith(System.Collections.Generic.IEnumerable{System.String},System.String)">
|
|
<summary>
|
|
Joins the strings into one single string interspersing the elements with the separator (a-la
|
|
System.String.Join()).
|
|
</summary>
|
|
<param name="elements">The elements.</param>
|
|
<param name="separator">The separator.</param>
|
|
<returns>The joined string.</returns>
|
|
</member>
|
|
<member name="M:Autofac.Util.SequenceExtensions.Append``1(System.Collections.Generic.IEnumerable{``0},``0)">
|
|
<summary>
|
|
Appends the item to the specified sequence.
|
|
</summary>
|
|
<typeparam name="T"></typeparam>
|
|
<param name="sequence">The sequence.</param>
|
|
<param name="trailingItem">The trailing item.</param>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:Autofac.Util.SequenceExtensions.Prepend``1(System.Collections.Generic.IEnumerable{``0},``0)">
|
|
<summary>
|
|
Prepends the item to the specified sequence.
|
|
</summary>
|
|
<typeparam name="T"></typeparam>
|
|
<param name="sequence">The sequence.</param>
|
|
<param name="leadingItem">The leading item.</param>
|
|
<returns></returns>
|
|
</member>
|
|
</members>
|
|
</doc>
|