ServiceDescriptor
public ServiceDescriptor(Type serviceType, Func<IServiceProvider, object> factory, ServiceLifetime lifetime)
public static ServiceDescriptor Describe(Type serviceType, Type implementationType, ServiceLifetime lifetime)
public static ServiceDescriptor Describe(Type serviceType, Func<IServiceProvider, object> implementationFactory, ServiceLifetime lifetime)
public static ServiceDescriptor Scoped<TService, TImplementation>() where TImplementation : TService
public static ServiceDescriptor Scoped<TService, TImplementation>(Func<IServiceProvider, TImplementation> implementationFactory) where TImplementation : TService
public static ServiceDescriptor Scoped<TService>(Func<IServiceProvider, TService> implementationFactory)
public static ServiceDescriptor Scoped(Type service, Func<IServiceProvider, object> implementationFactory)
public static ServiceDescriptor Singleton<TService, TImplementation>() where TImplementation : TService
public static ServiceDescriptor Singleton<TService, TImplementation>(Func<IServiceProvider, TImplementation> implementationFactory) where TImplementation : TService
public static ServiceDescriptor Singleton<TService>(Func<IServiceProvider, TService> implementationFactory)
public static ServiceDescriptor Singleton(Type serviceType, Func<IServiceProvider, object> implementationFactory)
public static ServiceDescriptor Transient<TService, TImplementation>() where TImplementation : TService
public static ServiceDescriptor Transient<TService, TImplementation>(Func<IServiceProvider, TImplementation> implementationFactory) where TImplementation : TService
public static ServiceDescriptor Transient<TService>(Func<IServiceProvider, TService> implementationFactory)
public static ServiceDescriptor Transient(Type service, Func<IServiceProvider, object> implementationFactory)