API Diff between 8.0.0-preview.7.23375.6 and 3.1.20
118 Additions
0 Removals
Microsoft.Extensions.DependencyInjection
-
public static class ActivatorUtilities
-
public struct AsyncServiceScope : IServiceScope, IDisposable, IAsyncDisposable
-
public class FromKeyedServicesAttribute : Attribute
-
public interface IKeyedServiceProvider : IServiceProvider
-
public interface IServiceProviderIsKeyedService : IServiceProviderIsService
-
public interface IServiceProviderIsService
-
public static class KeyedService
- public static object AnyKey { get; }
-
public sealed delegate ObjectFactory<T> : MulticastDelegate
-
public class ServiceCollection : IServiceCollection, IList<ServiceDescriptor>, ICollection<ServiceDescriptor>, IEnumerable<ServiceDescriptor>, IEnumerable
-
public static class ServiceCollectionServiceExtensions
- public static IServiceCollection AddKeyedScoped(this IServiceCollection services, Type serviceType, object serviceKey, Type implementationType)
- public static IServiceCollection AddKeyedScoped(this IServiceCollection services, Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
- public static IServiceCollection AddKeyedScoped<TService, TImplementation>(this IServiceCollection services, object serviceKey) where TImplementation : TService
- public static IServiceCollection AddKeyedScoped(this IServiceCollection services, Type serviceType, object serviceKey)
- public static IServiceCollection AddKeyedScoped<TService>(this IServiceCollection services, object serviceKey)
- public static IServiceCollection AddKeyedScoped<TService>(this IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
- public static IServiceCollection AddKeyedScoped<TService, TImplementation>(this IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory) where TImplementation : TService
- public static IServiceCollection AddKeyedSingleton(this IServiceCollection services, Type serviceType, object serviceKey, Type implementationType)
- public static IServiceCollection AddKeyedSingleton(this IServiceCollection services, Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
- public static IServiceCollection AddKeyedSingleton<TService, TImplementation>(this IServiceCollection services, object serviceKey) where TImplementation : TService
- public static IServiceCollection AddKeyedSingleton(this IServiceCollection services, Type serviceType, object serviceKey)
- public static IServiceCollection AddKeyedSingleton<TService>(this IServiceCollection services, object serviceKey)
- public static IServiceCollection AddKeyedSingleton<TService>(this IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
- public static IServiceCollection AddKeyedSingleton<TService, TImplementation>(this IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory) where TImplementation : TService
- public static IServiceCollection AddKeyedSingleton(this IServiceCollection services, Type serviceType, object serviceKey, object implementationInstance)
- public static IServiceCollection AddKeyedSingleton<TService>(this IServiceCollection services, object serviceKey, TService implementationInstance)
- public static IServiceCollection AddKeyedTransient(this IServiceCollection services, Type serviceType, object serviceKey, Type implementationType)
- public static IServiceCollection AddKeyedTransient(this IServiceCollection services, Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
- public static IServiceCollection AddKeyedTransient<TService, TImplementation>(this IServiceCollection services, object serviceKey) where TImplementation : TService
- public static IServiceCollection AddKeyedTransient(this IServiceCollection services, Type serviceType, object serviceKey)
- public static IServiceCollection AddKeyedTransient<TService>(this IServiceCollection services, object serviceKey)
- public static IServiceCollection AddKeyedTransient<TService>(this IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
- public static IServiceCollection AddKeyedTransient<TService, TImplementation>(this IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory) where TImplementation : TService
-
public class ServiceDescriptor
- public bool IsKeyedService { get; }
- public Func<IServiceProvider, object, object> KeyedImplementationFactory { get; }
- public object KeyedImplementationInstance { get; }
- public Type KeyedImplementationType { get; }
- public object ServiceKey { get; }
- public ServiceDescriptor(Type serviceType, object serviceKey, Type implementationType, ServiceLifetime lifetime)
- public ServiceDescriptor(Type serviceType, object serviceKey, object instance)
- public ServiceDescriptor(Type serviceType, object serviceKey, Func<IServiceProvider, object, object> factory, ServiceLifetime lifetime)
- public static ServiceDescriptor DescribeKeyed(Type serviceType, object serviceKey, Type implementationType, ServiceLifetime lifetime)
- public static ServiceDescriptor DescribeKeyed(Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory, ServiceLifetime lifetime)
- public static ServiceDescriptor KeyedScoped<TService, TImplementation>(object serviceKey) where TImplementation : TService
- public static ServiceDescriptor KeyedScoped(Type service, object serviceKey, Type implementationType)
- public static ServiceDescriptor KeyedScoped<TService, TImplementation>(object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory) where TImplementation : TService
- public static ServiceDescriptor KeyedScoped<TService>(object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
- public static ServiceDescriptor KeyedScoped(Type service, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
- public static ServiceDescriptor KeyedSingleton<TService, TImplementation>(object serviceKey) where TImplementation : TService
- public static ServiceDescriptor KeyedSingleton(Type service, object serviceKey, Type implementationType)
- public static ServiceDescriptor KeyedSingleton<TService, TImplementation>(object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory) where TImplementation : TService
- public static ServiceDescriptor KeyedSingleton<TService>(object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
- public static ServiceDescriptor KeyedSingleton(Type serviceType, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
- public static ServiceDescriptor KeyedSingleton<TService>(object serviceKey, TService implementationInstance)
- public static ServiceDescriptor KeyedSingleton(Type serviceType, object serviceKey, object implementationInstance)
- public static ServiceDescriptor KeyedTransient<TService, TImplementation>(object serviceKey) where TImplementation : TService
- public static ServiceDescriptor KeyedTransient(Type service, object serviceKey, Type implementationType)
- public static ServiceDescriptor KeyedTransient<TService, TImplementation>(object serviceKey, Func<IServiceProvider, object, TImplementation> implementationFactory) where TImplementation : TService
- public static ServiceDescriptor KeyedTransient<TService>(object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
- public static ServiceDescriptor KeyedTransient(Type service, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
-
public class ServiceKeyAttribute : Attribute
-
public static class ServiceProviderKeyedServiceExtensions
-
public static class ServiceProviderServiceExtensions
Microsoft.Extensions.DependencyInjection.Extensions
-
public static class ServiceCollectionDescriptorExtensions
- public static IServiceCollection RemoveAllKeyed<T>(this IServiceCollection collection, object serviceKey)
- public static IServiceCollection RemoveAllKeyed(this IServiceCollection collection, Type serviceType, object serviceKey)
- public static void TryAddKeyedScoped(this IServiceCollection collection, Type service, object serviceKey)
- public static void TryAddKeyedScoped(this IServiceCollection collection, Type service, object serviceKey, Type implementationType)
- public static void TryAddKeyedScoped(this IServiceCollection collection, Type service, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
- public static void TryAddKeyedScoped<TService>(this IServiceCollection collection, object serviceKey)
- public static void TryAddKeyedScoped<TService, TImplementation>(this IServiceCollection collection, object serviceKey) where TImplementation : TService
- public static void TryAddKeyedScoped<TService>(this IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
- public static void TryAddKeyedSingleton(this IServiceCollection collection, Type service, object serviceKey)
- public static void TryAddKeyedSingleton(this IServiceCollection collection, Type service, object serviceKey, Type implementationType)
- public static void TryAddKeyedSingleton(this IServiceCollection collection, Type service, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
- public static void TryAddKeyedSingleton<TService>(this IServiceCollection collection, object serviceKey)
- public static void TryAddKeyedSingleton<TService, TImplementation>(this IServiceCollection collection, object serviceKey) where TImplementation : TService
- public static void TryAddKeyedSingleton<TService>(this IServiceCollection collection, object serviceKey, TService instance)
- public static void TryAddKeyedSingleton<TService>(this IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)
- public static void TryAddKeyedTransient(this IServiceCollection collection, Type service, object serviceKey)
- public static void TryAddKeyedTransient(this IServiceCollection collection, Type service, object serviceKey, Type implementationType)
- public static void TryAddKeyedTransient(this IServiceCollection collection, Type service, object serviceKey, Func<IServiceProvider, object, object> implementationFactory)
- public static void TryAddKeyedTransient<TService>(this IServiceCollection collection, object serviceKey)
- public static void TryAddKeyedTransient<TService, TImplementation>(this IServiceCollection collection, object serviceKey) where TImplementation : TService
- public static void TryAddKeyedTransient<TService>(this IServiceCollection services, object serviceKey, Func<IServiceProvider, object, TService> implementationFactory)