1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>Microsoft.Extensions.DependencyInjection.Abstractions</name>
- </assembly>
- <members>
- <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 registing 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 registing 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 <paramef 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></returns>
- </member>
- <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
- <summary>
- Removes all services of type <typeparamef name="T"/> in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
- </summary>
- <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
- <returns></returns>
- </member>
- <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
- <summary>
- Removes all services of type <paramef 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></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.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="P:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.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="M:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.FormatAmbiguousConstructorMatch(System.Object)">
- <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:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.CannotLocateImplementation">
- <summary>
- Unable to locate implementation '{0}' for service '{1}'.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.FormatCannotLocateImplementation(System.Object,System.Object)">
- <summary>
- Unable to locate implementation '{0}' for service '{1}'.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.CannotResolveService">
- <summary>
- Unable to resolve service for type '{0}' while attempting to activate '{1}'.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.FormatCannotResolveService(System.Object,System.Object)">
- <summary>
- Unable to resolve service for type '{0}' while attempting to activate '{1}'.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.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="M:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.FormatNoConstructorMatch(System.Object)">
- <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:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.NoServiceRegistered">
- <summary>
- No service for type '{0}' has been registered.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.FormatNoServiceRegistered(System.Object)">
- <summary>
- No service for type '{0}' has been registered.
- </summary>
- </member>
- <member name="P:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.TryAddIndistinguishableTypeToEnumerable">
- <summary>
- Implementation type cannot be '{0}' because it is indistinguishable from other services registered for '{1}'.
- </summary>
- </member>
- <member name="M:Microsoft.Extensions.DependencyInjection.Abstractions.Resources.FormatTryAddIndistinguishableTypeToEnumerable(System.Object,System.Object)">
- <summary>
- Implementation type cannot be '{0}' because it is indistinguishable from other services registered for '{1}'.
- </summary>
- </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="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Lifetime">
- <inheritdoc />
- </member>
- <member name="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceType">
- <inheritdoc />
- </member>
- <member name="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ImplementationType">
- <inheritdoc />
- </member>
- <member name="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ImplementationInstance">
- <inheritdoc />
- </member>
- <member name="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ImplementationFactory">
- <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.Scoped"/> 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.Scoped"/> 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="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.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>
- </members>
- </doc>
|