You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1528 lines
113 KiB
XML
1528 lines
113 KiB
XML
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>Microsoft.Extensions.DependencyInjection.Abstractions</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilities">
|
|
<summary>
|
|
Helper code for the various activator services.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(System.IServiceProvider,System.Type,System.Object[])">
|
|
<summary>
|
|
Instantiate a type with constructor arguments provided directly and/or from an <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<param name="provider">The service provider used to resolve dependencies</param>
|
|
<param name="instanceType">The type to activate</param>
|
|
<param name="parameters">Constructor arguments not provided by the <paramref name="provider"/>.</param>
|
|
<returns>An activated object of type instanceType</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(System.Type,System.Type[])">
|
|
<summary>
|
|
Create a delegate that will instantiate a type with constructor arguments provided directly
|
|
and/or from an <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<param name="instanceType">The type to activate</param>
|
|
<param name="argumentTypes">
|
|
The types of objects, in order, that will be passed to the returned function as its second parameter
|
|
</param>
|
|
<returns>
|
|
A factory that will instantiate instanceType using an <see cref="T:System.IServiceProvider"/>
|
|
and an argument array containing objects matching the types defined in argumentTypes
|
|
</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance``1(System.IServiceProvider,System.Object[])">
|
|
<summary>
|
|
Instantiate a type with constructor arguments provided directly and/or from an <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<typeparam name="T">The type to activate</typeparam>
|
|
<param name="provider">The service provider used to resolve dependencies</param>
|
|
<param name="parameters">Constructor arguments not provided by the <paramref name="provider"/>.</param>
|
|
<returns>An activated object of type T</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance``1(System.IServiceProvider)">
|
|
<summary>
|
|
Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly.
|
|
</summary>
|
|
<typeparam name="T">The type of the service</typeparam>
|
|
<param name="provider">The service provider used to resolve dependencies</param>
|
|
<returns>The resolved service or created instance</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(System.IServiceProvider,System.Type)">
|
|
<summary>
|
|
Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly.
|
|
</summary>
|
|
<param name="provider">The service provider</param>
|
|
<param name="type">The type of the service</param>
|
|
<returns>The resolved service or created instance</returns>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute">
|
|
<summary>
|
|
Marks the constructor to be used when activating type using <see cref="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilities"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope">
|
|
<summary>
|
|
An <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" /> implementation that implements <see cref="T:System.IAsyncDisposable" />.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.AsyncServiceScope.#ctor(Microsoft.Extensions.DependencyInjection.IServiceScope)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> struct.
|
|
Wraps an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" />.
|
|
</summary>
|
|
<param name="serviceScope">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> instance to wrap.</param>
|
|
</member>
|
|
<member name="P:Microsoft.Extensions.DependencyInjection.AsyncServiceScope.ServiceProvider">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.AsyncServiceScope.Dispose">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.AsyncServiceScope.DisposeAsync">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions">
|
|
<summary>
|
|
Extension methods for adding and removing services to an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
|
<summary>
|
|
Adds the specified <paramref name="descriptor"/> to the <paramref name="collection"/>.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> to add.</param>
|
|
<returns>A reference to the current instance of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Collections.Generic.IEnumerable{Microsoft.Extensions.DependencyInjection.ServiceDescriptor})">
|
|
<summary>
|
|
Adds a sequence of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> to the <paramref name="collection"/>.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="descriptors">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>s to add.</param>
|
|
<returns>A reference to the current instance of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAdd(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
|
<summary>
|
|
Adds the specified <paramref name="descriptor"/> to the <paramref name="collection"/> if the
|
|
service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> to add.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAdd(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Collections.Generic.IEnumerable{Microsoft.Extensions.DependencyInjection.ServiceDescriptor})">
|
|
<summary>
|
|
Adds the specified <paramref name="descriptors"/> to the <paramref name="collection"/> if the
|
|
service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="descriptors">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>s to add.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
|
|
<summary>
|
|
Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="service">The type of the service to register.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
|
|
<summary>
|
|
Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
|
|
with the <paramref name="implementationType"/> implementation
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="service">The type of the service to register.</param>
|
|
<param name="implementationType">The implementation type of the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
|
|
<summary>
|
|
Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
|
|
using the factory specified in <paramref name="implementationFactory"/>
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="service">The type of the service to register.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
|
|
implementation type specified in <typeparamref name="TImplementation"/>
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation to use.</typeparam>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
|
|
using the factory specified in <paramref name="implementationFactory"/>
|
|
to the <paramref name="services"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
|
|
<summary>
|
|
Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="service">The type of the service to register.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
|
|
<summary>
|
|
Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
|
|
with the <paramref name="implementationType"/> implementation
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="service">The type of the service to register.</param>
|
|
<param name="implementationType">The implementation type of the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
|
|
<summary>
|
|
Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
|
|
using the factory specified in <paramref name="implementationFactory"/>
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="service">The type of the service to register.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
|
|
implementation type specified in <typeparamref name="TImplementation"/>
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation to use.</typeparam>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
|
|
using the factory specified in <paramref name="implementationFactory"/>
|
|
to the <paramref name="services"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
|
|
<summary>
|
|
Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="service">The type of the service to register.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
|
|
<summary>
|
|
Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
|
|
with the <paramref name="implementationType"/> implementation
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="service">The type of the service to register.</param>
|
|
<param name="implementationType">The implementation type of the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
|
|
<summary>
|
|
Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
|
|
using the factory specified in <paramref name="implementationFactory"/>
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="service">The type of the service to register.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
|
|
implementation type specified in <typeparamref name="TImplementation"/>
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation to use.</typeparam>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,``0)">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
|
|
with an instance specified in <paramref name="instance"/>
|
|
to the <paramref name="collection"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="instance">The instance of the service to add.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
|
|
<summary>
|
|
Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
|
|
using the factory specified in <paramref name="implementationFactory"/>
|
|
to the <paramref name="services"/> if the service type hasn't already been registered.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
|
<summary>
|
|
Adds a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> if an existing descriptor with the same
|
|
<see cref="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceType"/> and an implementation that does not already exist
|
|
in <paramref name="services.."/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</param>
|
|
<remarks>
|
|
Use <see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> when registering a service implementation of a
|
|
service type that
|
|
supports multiple registrations of the same service type. Using
|
|
<see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> is not idempotent and can add
|
|
duplicate
|
|
<see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> instances if called twice. Using
|
|
<see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> will prevent registration
|
|
of multiple implementation types.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Collections.Generic.IEnumerable{Microsoft.Extensions.DependencyInjection.ServiceDescriptor})">
|
|
<summary>
|
|
Adds the specified <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>s if an existing descriptor with the same
|
|
<see cref="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceType"/> and an implementation that does not already exist
|
|
in <paramref name="services.."/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="descriptors">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>s.</param>
|
|
<remarks>
|
|
Use <see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> when registering a service
|
|
implementation of a service type that
|
|
supports multiple registrations of the same service type. Using
|
|
<see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> is not idempotent and can add
|
|
duplicate
|
|
<see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> instances if called twice. Using
|
|
<see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> will prevent registration
|
|
of multiple implementation types.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Replace(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
|
<summary>
|
|
Removes the first service in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> with the same service type
|
|
as <paramref name="descriptor"/> and adds <paramref name="descriptor"/> to the collection.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> to replace with.</param>
|
|
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> for chaining.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Removes all services of type <typeparamref name="T"/> in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> for chaining.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
|
|
<summary>
|
|
Removes all services of type <paramref name="serviceType"/> in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
|
|
<param name="serviceType">The service type to remove.</param>
|
|
<returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> for chaining.</returns>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.IServiceCollection">
|
|
<summary>
|
|
Specifies the contract for a collection of service descriptors.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1">
|
|
<summary>
|
|
Provides an extension point for creating a container specific builder and an <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1.CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Creates a container builder from an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The collection of services</param>
|
|
<returns>A container builder that can be used to create an <see cref="T:System.IServiceProvider"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1.CreateServiceProvider(`0)">
|
|
<summary>
|
|
Creates an <see cref="T:System.IServiceProvider"/> from the container builder.
|
|
</summary>
|
|
<param name="containerBuilder">The container builder</param>
|
|
<returns>An <see cref="T:System.IServiceProvider"/></returns>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.IServiceProviderIsService">
|
|
<summary>
|
|
Optional service used to determine if the specified type is available from the <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.IServiceProviderIsService.IsService(System.Type)">
|
|
<summary>
|
|
Determines if the specified service type is available from the <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<param name="serviceType">An object that specifies the type of service object to test.</param>
|
|
<returns>true if the specified service is a available, false if it is not.</returns>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.IServiceScope">
|
|
<summary>
|
|
The <see cref="M:System.IDisposable.Dispose"/> method ends the scope lifetime. Once Dispose
|
|
is called, any scoped services that have been resolved from
|
|
<see cref="P:Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider"/> will be
|
|
disposed.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider">
|
|
<summary>
|
|
The <see cref="T:System.IServiceProvider"/> used to resolve dependencies from the scope.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.IServiceScopeFactory">
|
|
<summary>
|
|
A factory for creating instances of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/>, which is used to create
|
|
services within a scope.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.IServiceScopeFactory.CreateScope">
|
|
<summary>
|
|
Create an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> which
|
|
contains an <see cref="T:System.IServiceProvider"/> used to resolve dependencies from a
|
|
newly created scope.
|
|
</summary>
|
|
<returns>
|
|
An <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> controlling the
|
|
lifetime of the scope. Once this is disposed, any scoped services that have been resolved
|
|
from the <see cref="P:Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider"/>
|
|
will also be disposed.
|
|
</returns>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.ISupportRequiredService">
|
|
<summary>
|
|
Optional contract used by <see cref="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService``1(System.IServiceProvider)"/>
|
|
to resolve services if supported by <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ISupportRequiredService.GetRequiredService(System.Type)">
|
|
<summary>
|
|
Gets service of type <paramref name="serviceType"/> from the <see cref="T:System.IServiceProvider"/> implementing
|
|
this interface.
|
|
</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"/>.
|
|
Throws an exception if the <see cref="T:System.IServiceProvider"/> cannot create the object.</returns>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.ObjectFactory">
|
|
<summary>
|
|
The result of <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(System.Type,System.Type[])"/>.
|
|
</summary>
|
|
<param name="serviceProvider">The <see cref="T:System.IServiceProvider"/> to get service arguments from.</param>
|
|
<param name="arguments">Additional constructor arguments.</param>
|
|
<returns>The instantiated type.</returns>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceCollection">
|
|
<summary>
|
|
Default implementation of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceCollection.Count">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceCollection.IsReadOnly">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="P:Microsoft.Extensions.DependencyInjection.ServiceCollection.Item(System.Int32)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Clear">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Contains(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.CopyTo(Microsoft.Extensions.DependencyInjection.ServiceDescriptor[],System.Int32)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Remove(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.GetEnumerator">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.IndexOf(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Insert(System.Int32,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.RemoveAt(System.Int32)">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.MakeReadOnly">
|
|
<summary>
|
|
Makes this collection read-only.
|
|
</summary>
|
|
<remarks>
|
|
After the collection is marked as read-only, any further attempt to modify it throws an <see cref="T:System.InvalidOperationException" />.
|
|
</remarks>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions">
|
|
<summary>
|
|
Extension methods for adding services to an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
|
|
<summary>
|
|
Adds a transient service of the type specified in <paramref name="serviceType"/> with an
|
|
implementation of the type specified in <paramref name="implementationType"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register.</param>
|
|
<param name="implementationType">The implementation type of the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
|
|
<summary>
|
|
Adds a transient service of the type specified in <paramref name="serviceType"/> with a
|
|
factory specified in <paramref name="implementationFactory"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds a transient service of the type specified in <typeparamref name="TService"/> with an
|
|
implementation type specified in <typeparamref name="TImplementation"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation to use.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
|
|
<summary>
|
|
Adds a transient service of the type specified in <paramref name="serviceType"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register and the implementation to use.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds a transient service of the type specified in <typeparamref name="TService"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
|
|
<summary>
|
|
Adds a transient service of the type specified in <typeparamref name="TService"/> with a
|
|
factory specified in <paramref name="implementationFactory"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``2(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``1})">
|
|
<summary>
|
|
Adds a transient service of the type specified in <typeparamref name="TService"/> with an
|
|
implementation type specified in <typeparamref name="TImplementation" /> using the
|
|
factory specified in <paramref name="implementationFactory"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation to use.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
|
|
<summary>
|
|
Adds a scoped service of the type specified in <paramref name="serviceType"/> with an
|
|
implementation of the type specified in <paramref name="implementationType"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register.</param>
|
|
<param name="implementationType">The implementation type of the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
|
|
<summary>
|
|
Adds a scoped service of the type specified in <paramref name="serviceType"/> with a
|
|
factory specified in <paramref name="implementationFactory"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds a scoped service of the type specified in <typeparamref name="TService"/> with an
|
|
implementation type specified in <typeparamref name="TImplementation"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation to use.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
|
|
<summary>
|
|
Adds a scoped service of the type specified in <paramref name="serviceType"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register and the implementation to use.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds a scoped service of the type specified in <typeparamref name="TService"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
|
|
<summary>
|
|
Adds a scoped service of the type specified in <typeparamref name="TService"/> with a
|
|
factory specified in <paramref name="implementationFactory"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``2(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``1})">
|
|
<summary>
|
|
Adds a scoped service of the type specified in <typeparamref name="TService"/> with an
|
|
implementation type specified in <typeparamref name="TImplementation" /> using the
|
|
factory specified in <paramref name="implementationFactory"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation to use.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
|
|
<summary>
|
|
Adds a singleton service of the type specified in <paramref name="serviceType"/> with an
|
|
implementation of the type specified in <paramref name="implementationType"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register.</param>
|
|
<param name="implementationType">The implementation type of the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
|
|
<summary>
|
|
Adds a singleton service of the type specified in <paramref name="serviceType"/> with a
|
|
factory specified in <paramref name="implementationFactory"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds a singleton service of the type specified in <typeparamref name="TService"/> with an
|
|
implementation type specified in <typeparamref name="TImplementation"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation to use.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
|
|
<summary>
|
|
Adds a singleton service of the type specified in <paramref name="serviceType"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register and the implementation to use.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
|
|
<summary>
|
|
Adds a singleton service of the type specified in <typeparamref name="TService"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
|
|
<summary>
|
|
Adds a singleton service of the type specified in <typeparamref name="TService"/> with a
|
|
factory specified in <paramref name="implementationFactory"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``2(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``1})">
|
|
<summary>
|
|
Adds a singleton service of the type specified in <typeparamref name="TService"/> with an
|
|
implementation type specified in <typeparamref name="TImplementation" /> using the
|
|
factory specified in <paramref name="implementationFactory"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service to add.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation to use.</typeparam>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="implementationFactory">The factory that creates the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Object)">
|
|
<summary>
|
|
Adds a singleton service of the type specified in <paramref name="serviceType"/> with an
|
|
instance specified in <paramref name="implementationInstance"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="serviceType">The type of the service to register.</param>
|
|
<param name="implementationInstance">The instance of the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,``0)">
|
|
<summary>
|
|
Adds a singleton service of the type specified in <typeparamref name="TService" /> with an
|
|
instance specified in <paramref name="implementationInstance"/> to the
|
|
specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
<param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
|
|
<param name="implementationInstance">The instance of the service.</param>
|
|
<returns>A reference to this instance after the operation has completed.</returns>
|
|
<seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor">
|
|
<summary>
|
|
Describes a service with its service type, implementation, and lifetime.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.#ctor(System.Type,System.Type,Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
|
|
<summary>
|
|
Initializes a new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified <paramref name="implementationType"/>.
|
|
</summary>
|
|
<param name="serviceType">The <see cref="T:System.Type"/> of the service.</param>
|
|
<param name="implementationType">The <see cref="T:System.Type"/> implementing the service.</param>
|
|
<param name="lifetime">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceLifetime"/> of the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.#ctor(System.Type,System.Object)">
|
|
<summary>
|
|
Initializes a new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified <paramref name="instance"/>
|
|
as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>.
|
|
</summary>
|
|
<param name="serviceType">The <see cref="T:System.Type"/> of the service.</param>
|
|
<param name="instance">The instance implementing the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.#ctor(System.Type,System.Func{System.IServiceProvider,System.Object},Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
|
|
<summary>
|
|
Initializes a new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified <paramref name="factory"/>.
|
|
</summary>
|
|
<param name="serviceType">The <see cref="T:System.Type"/> of the service.</param>
|
|
<param name="factory">A factory used for creating service instances.</param>
|
|
<param name="lifetime">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceLifetime"/> of the service.</param>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ToString">
|
|
<inheritdoc />
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient``2">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation.</typeparam>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient(System.Type,System.Type)">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<paramref name="service"/> and <paramref name="implementationType"/>
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
|
|
</summary>
|
|
<param name="service">The type of the service.</param>
|
|
<param name="implementationType">The type of the implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient``2(System.Func{System.IServiceProvider,``1})">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
|
|
<paramref name="implementationFactory"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation.</typeparam>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient``1(System.Func{System.IServiceProvider,``0})">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <paramref name="implementationFactory"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient(System.Type,System.Func{System.IServiceProvider,System.Object})">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<paramref name="service"/>, <paramref name="implementationFactory"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
|
|
</summary>
|
|
<param name="service">The type of the service.</param>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped``2">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation.</typeparam>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped(System.Type,System.Type)">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<paramref name="service"/> and <paramref name="implementationType"/>
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
|
|
</summary>
|
|
<param name="service">The type of the service.</param>
|
|
<param name="implementationType">The type of the implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped``2(System.Func{System.IServiceProvider,``1})">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
|
|
<paramref name="implementationFactory"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation.</typeparam>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped``1(System.Func{System.IServiceProvider,``0})">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <paramref name="implementationFactory"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped(System.Type,System.Func{System.IServiceProvider,System.Object})">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<paramref name="service"/>, <paramref name="implementationFactory"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
|
|
</summary>
|
|
<param name="service">The type of the service.</param>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``2">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation.</typeparam>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type,System.Type)">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<paramref name="service"/> and <paramref name="implementationType"/>
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
|
|
</summary>
|
|
<param name="service">The type of the service.</param>
|
|
<param name="implementationType">The type of the implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``2(System.Func{System.IServiceProvider,``1})">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
|
|
<paramref name="implementationFactory"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<typeparam name="TImplementation">The type of the implementation.</typeparam>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``1(System.Func{System.IServiceProvider,``0})">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <paramref name="implementationFactory"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type,System.Func{System.IServiceProvider,System.Object})">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<paramref name="serviceType"/>, <paramref name="implementationFactory"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
|
|
</summary>
|
|
<param name="serviceType">The type of the service.</param>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``1(``0)">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<typeparamref name="TService"/>, <paramref name="implementationInstance"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
|
|
</summary>
|
|
<typeparam name="TService">The type of the service.</typeparam>
|
|
<param name="implementationInstance">The instance of the implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type,System.Object)">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<paramref name="serviceType"/>, <paramref name="implementationInstance"/>,
|
|
and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
|
|
</summary>
|
|
<param name="serviceType">The type of the service.</param>
|
|
<param name="implementationInstance">The instance of the implementation.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Describe(System.Type,System.Type,Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<paramref name="serviceType"/>, <paramref name="implementationType"/>,
|
|
and <paramref name="lifetime"/>.
|
|
</summary>
|
|
<param name="serviceType">The type of the service.</param>
|
|
<param name="implementationType">The type of the implementation.</param>
|
|
<param name="lifetime">The lifetime of the service.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Describe(System.Type,System.Func{System.IServiceProvider,System.Object},Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
|
|
<summary>
|
|
Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
|
|
<paramref name="serviceType"/>, <paramref name="implementationFactory"/>,
|
|
and <paramref name="lifetime"/>.
|
|
</summary>
|
|
<param name="serviceType">The type of the service.</param>
|
|
<param name="implementationFactory">A factory to create new instances of the service implementation.</param>
|
|
<param name="lifetime">The lifetime of the service.</param>
|
|
<returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceLifetime">
|
|
<summary>
|
|
Specifies the lifetime of a service in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton">
|
|
<summary>
|
|
Specifies that a single instance of the service will be created.
|
|
</summary>
|
|
</member>
|
|
<member name="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped">
|
|
<summary>
|
|
Specifies that a new instance of the service will be created for each scope.
|
|
</summary>
|
|
<remarks>
|
|
In ASP.NET Core applications a scope is created around each server request.
|
|
</remarks>
|
|
</member>
|
|
<member name="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient">
|
|
<summary>
|
|
Specifies that a new instance of the service will be created every time it is requested.
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions">
|
|
<summary>
|
|
Extension methods for getting services from an <see cref="T:System.IServiceProvider" />.
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService``1(System.IServiceProvider)">
|
|
<summary>
|
|
Get service of type <typeparamref name="T"/> from the <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<typeparam name="T">The type of service object to get.</typeparam>
|
|
<param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the service object from.</param>
|
|
<returns>A service object of type <typeparamref name="T"/> or null if there is no such service.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(System.IServiceProvider,System.Type)">
|
|
<summary>
|
|
Get service of type <paramref name="serviceType"/> from the <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the service object from.</param>
|
|
<param name="serviceType">An object that specifies the type of service object to get.</param>
|
|
<returns>A service object of type <paramref name="serviceType"/>.</returns>
|
|
<exception cref="T:System.InvalidOperationException">There is no service of type <paramref name="serviceType"/>.</exception>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService``1(System.IServiceProvider)">
|
|
<summary>
|
|
Get service of type <typeparamref name="T"/> from the <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<typeparam name="T">The type of service object to get.</typeparam>
|
|
<param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the service object from.</param>
|
|
<returns>A service object of type <typeparamref name="T"/>.</returns>
|
|
<exception cref="T:System.InvalidOperationException">There is no service of type <typeparamref name="T"/>.</exception>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices``1(System.IServiceProvider)">
|
|
<summary>
|
|
Get an enumeration of services of type <typeparamref name="T"/> from the <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<typeparam name="T">The type of service object to get.</typeparam>
|
|
<param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the services from.</param>
|
|
<returns>An enumeration of services of type <typeparamref name="T"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices(System.IServiceProvider,System.Type)">
|
|
<summary>
|
|
Get an enumeration of services of type <paramref name="serviceType"/> from the <see cref="T:System.IServiceProvider"/>.
|
|
</summary>
|
|
<param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the services from.</param>
|
|
<param name="serviceType">An object that specifies the type of service object to get.</param>
|
|
<returns>An enumeration of services of type <paramref name="serviceType"/>.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.CreateScope(System.IServiceProvider)">
|
|
<summary>
|
|
Creates a new <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> that can be used to resolve scoped services.
|
|
</summary>
|
|
<param name="provider">The <see cref="T:System.IServiceProvider"/> to create the scope from.</param>
|
|
<returns>A <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> that can be used to resolve scoped services.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.CreateAsyncScope(System.IServiceProvider)">
|
|
<summary>
|
|
Creates a new <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> that can be used to resolve scoped services.
|
|
</summary>
|
|
<param name="provider">The <see cref="T:System.IServiceProvider"/> to create the scope from.</param>
|
|
<returns>An <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> that can be used to resolve scoped services.</returns>
|
|
</member>
|
|
<member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.CreateAsyncScope(Microsoft.Extensions.DependencyInjection.IServiceScopeFactory)">
|
|
<summary>
|
|
Creates a new <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> that can be used to resolve scoped services.
|
|
</summary>
|
|
<param name="serviceScopeFactory">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScopeFactory"/> to create the scope from.</param>
|
|
<returns>An <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> that can be used to resolve scoped services.</returns>
|
|
</member>
|
|
<member name="M:System.ThrowHelper.ThrowIfNull(System.Object,System.String)">
|
|
<summary>Throws an <see cref="T:System.ArgumentNullException"/> if <paramref name="argument"/> is null.</summary>
|
|
<param name="argument">The reference type argument to validate as non-null.</param>
|
|
<param name="paramName">The name of the parameter with which <paramref name="argument"/> corresponds.</param>
|
|
</member>
|
|
<member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
|
|
<summary>
|
|
Attribute used to indicate a source generator should create a function for marshalling
|
|
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
|
|
</summary>
|
|
<remarks>
|
|
This attribute is meaningless if the source generator associated with it is not enabled.
|
|
The current built-in source generator only supports C# and only supplies an implementation when
|
|
applied to static, partial, non-generic methods.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
|
|
</summary>
|
|
<param name="libraryName">Name of the library containing the import.</param>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
|
|
<summary>
|
|
Gets the name of the library containing the import.
|
|
</summary>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
|
|
<summary>
|
|
Gets or sets the name of the entry point to be called.
|
|
</summary>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
|
|
<summary>
|
|
Gets or sets how to marshal string arguments to the method.
|
|
</summary>
|
|
<remarks>
|
|
If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
|
|
<see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
|
|
<summary>
|
|
Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
|
|
</summary>
|
|
<remarks>
|
|
If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
|
|
or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
|
|
<summary>
|
|
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
|
|
on other platforms) before returning from the attributed method.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Runtime.InteropServices.StringMarshalling">
|
|
<summary>
|
|
Specifies how strings should be marshalled for generated p/invokes
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
|
|
<summary>
|
|
Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
|
|
<summary>
|
|
Use the platform-provided UTF-8 marshaller.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
|
|
<summary>
|
|
Use the platform-provided UTF-16 marshaller.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute">
|
|
<summary>
|
|
Indicates that certain members on a specified <see cref="T:System.Type"/> are accessed dynamically,
|
|
for example through <see cref="N:System.Reflection"/>.
|
|
</summary>
|
|
<remarks>
|
|
This allows tools to understand which members are being accessed during the execution
|
|
of a program.
|
|
|
|
This attribute is valid on members whose type is <see cref="T:System.Type"/> or <see cref="T:System.String"/>.
|
|
|
|
When this attribute is applied to a location of type <see cref="T:System.String"/>, the assumption is
|
|
that the string represents a fully qualified type name.
|
|
|
|
When this attribute is applied to a class, interface, or struct, the members specified
|
|
can be accessed dynamically on <see cref="T:System.Type"/> instances returned from calling
|
|
<see cref="M:System.Object.GetType"/> on instances of that class, interface, or struct.
|
|
|
|
If the attribute is applied to a method it's treated as a special case and it implies
|
|
the attribute should be applied to the "this" parameter of the method. As such the attribute
|
|
should only be used on instance methods of types assignable to System.Type (or string, but no methods
|
|
will use it there).
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.#ctor(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"/> class
|
|
with the specified member types.
|
|
</summary>
|
|
<param name="memberTypes">The types of members dynamically accessed.</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.MemberTypes">
|
|
<summary>
|
|
Gets the <see cref="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes"/> which specifies the type
|
|
of members dynamically accessed.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">
|
|
<summary>
|
|
Specifies the types of members that are dynamically accessed.
|
|
|
|
This enumeration has a <see cref="T:System.FlagsAttribute"/> attribute that allows a
|
|
bitwise combination of its member values.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.None">
|
|
<summary>
|
|
Specifies no members.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor">
|
|
<summary>
|
|
Specifies the default, parameterless public constructor.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors">
|
|
<summary>
|
|
Specifies all public constructors.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors">
|
|
<summary>
|
|
Specifies all non-public constructors.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods">
|
|
<summary>
|
|
Specifies all public methods.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods">
|
|
<summary>
|
|
Specifies all non-public methods.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields">
|
|
<summary>
|
|
Specifies all public fields.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields">
|
|
<summary>
|
|
Specifies all non-public fields.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes">
|
|
<summary>
|
|
Specifies all public nested types.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicNestedTypes">
|
|
<summary>
|
|
Specifies all non-public nested types.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties">
|
|
<summary>
|
|
Specifies all public properties.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties">
|
|
<summary>
|
|
Specifies all non-public properties.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents">
|
|
<summary>
|
|
Specifies all public events.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents">
|
|
<summary>
|
|
Specifies all non-public events.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces">
|
|
<summary>
|
|
Specifies all interfaces implemented by the type.
|
|
</summary>
|
|
</member>
|
|
<member name="F:System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All">
|
|
<summary>
|
|
Specifies all members.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
|
|
<summary>
|
|
Suppresses reporting of a specific rule violation, allowing multiple suppressions on a
|
|
single code artifact.
|
|
</summary>
|
|
<remarks>
|
|
<see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> is different than
|
|
<see cref="T:System.Diagnostics.CodeAnalysis.SuppressMessageAttribute"/> in that it doesn't have a
|
|
<see cref="T:System.Diagnostics.ConditionalAttribute"/>. So it is always preserved in the compiled assembly.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.#ctor(System.String,System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/>
|
|
class, specifying the category of the tool and the identifier for an analysis rule.
|
|
</summary>
|
|
<param name="category">The category for the attribute.</param>
|
|
<param name="checkId">The identifier of the analysis rule the attribute applies to.</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category">
|
|
<summary>
|
|
Gets the category identifying the classification of the attribute.
|
|
</summary>
|
|
<remarks>
|
|
The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> property describes the tool or tool analysis category
|
|
for which a message suppression attribute applies.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId">
|
|
<summary>
|
|
Gets the identifier of the analysis tool rule to be suppressed.
|
|
</summary>
|
|
<remarks>
|
|
Concatenated together, the <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Category"/> and <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.CheckId"/>
|
|
properties form a unique check identifier.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Scope">
|
|
<summary>
|
|
Gets or sets the scope of the code that is relevant for the attribute.
|
|
</summary>
|
|
<remarks>
|
|
The Scope property is an optional argument that specifies the metadata scope for which
|
|
the attribute is relevant.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target">
|
|
<summary>
|
|
Gets or sets a fully qualified path that represents the target of the attribute.
|
|
</summary>
|
|
<remarks>
|
|
The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Target"/> property is an optional argument identifying the analysis target
|
|
of the attribute. An example value is "System.IO.Stream.ctor():System.Void".
|
|
Because it is fully qualified, it can be long, particularly for targets such as parameters.
|
|
The analysis tool user interface should be capable of automatically formatting the parameter.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId">
|
|
<summary>
|
|
Gets or sets an optional argument expanding on exclusion criteria.
|
|
</summary>
|
|
<remarks>
|
|
The <see cref="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.MessageId"/> property is an optional argument that specifies additional
|
|
exclusion where the literal metadata target is not sufficiently precise. For example,
|
|
the <see cref="T:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"/> cannot be applied within a method,
|
|
and it may be desirable to suppress a violation against a statement in the method that will
|
|
give a rule violation, but not against all statements in the method.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.Justification">
|
|
<summary>
|
|
Gets or sets the justification for suppressing the code analysis message.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute">
|
|
<summary>
|
|
Indicates that the specified method requires the ability to generate new code at runtime,
|
|
for example through <see cref="N:System.Reflection"/>.
|
|
</summary>
|
|
<remarks>
|
|
This allows tools to understand which methods are unsafe to call when compiling ahead of time.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute"/> class
|
|
with the specified message.
|
|
</summary>
|
|
<param name="message">
|
|
A message that contains information about the usage of dynamic code.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.Message">
|
|
<summary>
|
|
Gets a message that contains information about the usage of dynamic code.
|
|
</summary>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.Url">
|
|
<summary>
|
|
Gets or sets an optional URL that contains more information about the method,
|
|
why it requires dynamic code, and what options a consumer has to deal with it.
|
|
</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
|
|
<summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.DisallowNullAttribute">
|
|
<summary>Specifies that null is disallowed as an input even if the corresponding type allows it.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullAttribute">
|
|
<summary>Specifies that an output may be null even if the corresponding type disallows it.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.NotNullAttribute">
|
|
<summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
|
|
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
|
|
<summary>Initializes the attribute with the specified return value condition.</summary>
|
|
<param name="returnValue">
|
|
The return value condition. If the method returns this value, the associated parameter may be null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
|
|
<summary>Gets the return value condition.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute">
|
|
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.#ctor(System.Boolean)">
|
|
<summary>Initializes the attribute with the specified return value condition.</summary>
|
|
<param name="returnValue">
|
|
The return value condition. If the method returns this value, the associated parameter will not be null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue">
|
|
<summary>Gets the return value condition.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute">
|
|
<summary>Specifies that the output will be non-null if the named parameter is non-null.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.#ctor(System.String)">
|
|
<summary>Initializes the attribute with the associated parameter name.</summary>
|
|
<param name="parameterName">
|
|
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.ParameterName">
|
|
<summary>Gets the associated parameter name.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
|
|
<summary>Applied to a method that will never return under any circumstance.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute">
|
|
<summary>Specifies that the method will not return if the associated Boolean parameter is passed the specified value.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.#ctor(System.Boolean)">
|
|
<summary>Initializes the attribute with the specified parameter value.</summary>
|
|
<param name="parameterValue">
|
|
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
|
|
the associated parameter matches this value.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.ParameterValue">
|
|
<summary>Gets the condition parameter value.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
|
|
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
|
|
<summary>Initializes the attribute with a field or property member.</summary>
|
|
<param name="member">
|
|
The field or property member that is promised to be not-null.
|
|
</param>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
|
|
<summary>Initializes the attribute with the list of field and property members.</summary>
|
|
<param name="members">
|
|
The list of field and property members that are promised to be not-null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
|
|
<summary>Gets field or property member names.</summary>
|
|
</member>
|
|
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
|
|
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
|
|
<summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
|
|
<param name="returnValue">
|
|
The return value condition. If the method returns this value, the associated parameter will not be null.
|
|
</param>
|
|
<param name="member">
|
|
The field or property member that is promised to be not-null.
|
|
</param>
|
|
</member>
|
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
|
|
<summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
|
|
<param name="returnValue">
|
|
The return value condition. If the method returns this value, the associated parameter will not be null.
|
|
</param>
|
|
<param name="members">
|
|
The list of field and property members that are promised to be not-null.
|
|
</param>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
|
|
<summary>Gets the return value condition.</summary>
|
|
</member>
|
|
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
|
|
<summary>Gets field or property member names.</summary>
|
|
</member>
|
|
<member name="P:System.SR.AmbiguousConstructorMatch">
|
|
<summary>Multiple constructors accepting all given argument types have been found in type '{0}'. There should only be one applicable constructor.</summary>
|
|
</member>
|
|
<member name="P:System.SR.CannotResolveService">
|
|
<summary>Unable to resolve service for type '{0}' while attempting to activate '{1}'.</summary>
|
|
</member>
|
|
<member name="P:System.SR.NoConstructorMatch">
|
|
<summary>A suitable constructor for type '{0}' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor.</summary>
|
|
</member>
|
|
<member name="P:System.SR.NoServiceRegistered">
|
|
<summary>No service for type '{0}' has been registered.</summary>
|
|
</member>
|
|
<member name="P:System.SR.ServiceCollectionReadOnly">
|
|
<summary>The service collection cannot be modified because it is read-only.</summary>
|
|
</member>
|
|
<member name="P:System.SR.TryAddIndistinguishableTypeToEnumerable">
|
|
<summary>Implementation type cannot be '{0}' because it is indistinguishable from other services registered for '{1}'.</summary>
|
|
</member>
|
|
</members>
|
|
</doc>
|