API Diff between 5.0.1-preview-724 and 5.4.3-preview-762
103 Additions
108 Removals
Stashbox
-
public static class DependencyRegistratorExtensions
- public static IStashboxContainer Register<TFrom, TTo>(this IDependencyRegistrator registrator, object name = null) where TTo : TFrom
- public static IStashboxContainer RegisterScoped<TFrom, TTo>(this IDependencyRegistrator registrator, object name = null) where TTo : TFrom
- public static IStashboxContainer RegisterScoped(this IDependencyRegistrator registrator, Type typeFrom, Type typeTo, object name = null)
- public static IStashboxContainer RegisterScoped<TTo>(this IDependencyRegistrator registrator, object name = null)
- public static IStashboxContainer RegisterSingleton<TFrom, TTo>(this IDependencyRegistrator registrator, object name = null) where TTo : TFrom
- public static IStashboxContainer RegisterSingleton<TTo>(this IDependencyRegistrator registrator, object name = null)
- public static IStashboxContainer RegisterSingleton(this IDependencyRegistrator registrator, Type typeFrom, Type typeTo, object name = null)
-
public static class DependencyResolverExtensions
- public static TKey Resolve<TKey>(this IDependencyResolver resolver)
- public static TKey Resolve<TKey>(this IDependencyResolver resolver, object[] dependencyOverrides)
- public static TKey Resolve<TKey>(this IDependencyResolver resolver, object name)
- public static TKey Resolve<TKey>(this IDependencyResolver resolver, object name, object[] dependencyOverrides)
- public static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver, object name)
- public static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver, object name, object[] dependencyOverrides)
- public static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver)
- public static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver, object[] dependencyOverrides)
- public static TKey Resolve<TKey>(this IDependencyResolver resolver, bool nullResultAllowed = false, object[] dependencyOverrides = null)
- public static TKey Resolve<TKey>(this IDependencyResolver resolver, object name, bool nullResultAllowed = false, object[] dependencyOverrides = null)
- public static Func<TService> ResolveFactory<TService>(this IDependencyResolver resolver, object name = null, bool nullResultAllowed = false)
- public static Func<T1, TService> ResolveFactory<T1, TService>(this IDependencyResolver resolver, object name = null, bool nullResultAllowed = false)
- public static Func<T1, T2, TService> ResolveFactory<T1, T2, TService>(this IDependencyResolver resolver, object name = null, bool nullResultAllowed = false)
- public static Func<T1, T2, T3, TService> ResolveFactory<T1, T2, T3, TService>(this IDependencyResolver resolver, object name = null, bool nullResultAllowed = false)
- public static Func<T1, T2, T3, T4, TService> ResolveFactory<T1, T2, T3, T4, TService>(this IDependencyResolver resolver, object name = null, bool nullResultAllowed = false)
-
public interface IDependencyRegistrator
-
public interface IDependencyResolver : IServiceProvider, IAsyncDisposable, IDisposable
- IEnumerable<DelegateCacheEntry> GetDelegateCacheEntries()
- object Resolve(Type typeFrom)
- object Resolve(Type typeFrom, object[] dependencyOverrides)
- object Resolve(Type typeFrom, object name)
- object Resolve(Type typeFrom, object name, object[] dependencyOverrides)
- IEnumerable<TKey> ResolveAll<TKey>()
- IEnumerable<TKey> ResolveAll<TKey>(object name)
- object Resolve(Type typeFrom, bool nullResultAllowed = false, object[] dependencyOverrides = null)
- object Resolve(Type typeFrom, object name, bool nullResultAllowed = false, object[] dependencyOverrides = null)
- IEnumerable<TKey> ResolveAll<TKey>(object name, object[] dependencyOverrides)
- IEnumerable<object> ResolveAll(Type typeFrom)
- IEnumerable<object> ResolveAll(Type typeFrom, object name)
- IEnumerable<object> ResolveAll(Type typeFrom, object name, object[] dependencyOverrides)
- Delegate ResolveFactory(Type typeFrom, object name = null, Type[] parameterTypes)
- Delegate ResolveFactoryOrDefault(Type typeFrom, object name = null, Type[] parameterTypes)
- object ResolveOrDefault(Type typeFrom)
- object ResolveOrDefault(Type typeFrom, object[] dependencyOverrides)
- object ResolveOrDefault(Type typeFrom, object name)
- object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides)
- Delegate ResolveFactory(Type typeFrom, object name = null, bool nullResultAllowed = false, Type[] parameterTypes)
-
public interface IFuncRegistrator
- IStashboxContainer RegisterFunc<TService>(Func<IDependencyResolver, TService> factory, object name = null)
- IStashboxContainer RegisterFunc<T1, TService>(Func<T1, IDependencyResolver, TService> factory, object name = null)
- IStashboxContainer RegisterFunc<T1, T2, TService>(Func<T1, T2, IDependencyResolver, TService> factory, object name = null)
- IStashboxContainer RegisterFunc<T1, T2, T3, TService>(Func<T1, T2, T3, IDependencyResolver, TService> factory, object name = null)
- IStashboxContainer RegisterFunc<T1, T2, T3, T4, TService>(Func<T1, T2, T3, T4, IDependencyResolver, TService> factory, object name = null)
- IStashboxContainer RegisterFunc<TService>(Func<IDependencyResolver, TService> factory, string name = null)
- IStashboxContainer RegisterFunc<T1, TService>(Func<T1, IDependencyResolver, TService> factory, string name = null)
- IStashboxContainer RegisterFunc<T1, T2, TService>(Func<T1, T2, IDependencyResolver, TService> factory, string name = null)
- IStashboxContainer RegisterFunc<T1, T2, T3, TService>(Func<T1, T2, T3, IDependencyResolver, TService> factory, string name = null)
- IStashboxContainer RegisterFunc<T1, T2, T3, T4, TService>(Func<T1, T2, T3, T4, IDependencyResolver, TService> factory, string name = null)
-
public interface IResolutionScope : IDependencyResolver, IServiceProvider, IAsyncDisposable, IDisposable
-
public interface IStashboxContainer : IDependencyRegistrator, IDependencyResolver, IServiceProvider, IAsyncDisposable, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
-
public sealed class StashboxContainer : IStashboxContainer, IDependencyRegistrator, IDependencyResolver, IServiceProvider, IAsyncDisposable, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
- public IEnumerable<DelegateCacheEntry> GetDelegateCacheEntries()
- public IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
- public IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
- public IStashboxContainer Register<TFrom, TTo>(object name = null) where TTo : TFrom
- public IStashboxContainer Register<TTo>(object name = null)
- public IStashboxContainer RegisterFunc<TService>(Func<IDependencyResolver, TService> factory, object name = null)
- public IStashboxContainer RegisterFunc<T1, TService>(Func<T1, IDependencyResolver, TService> factory, object name = null)
- public IStashboxContainer RegisterFunc<T1, T2, TService>(Func<T1, T2, IDependencyResolver, TService> factory, object name = null)
- public IStashboxContainer RegisterFunc<T1, T2, T3, TService>(Func<T1, T2, T3, IDependencyResolver, TService> factory, object name = null)
- public IStashboxContainer RegisterFunc<T1, T2, T3, T4, TService>(Func<T1, T2, T3, T4, IDependencyResolver, TService> factory, object name = null)
- public IStashboxContainer RegisterFunc<TService>(Func<IDependencyResolver, TService> factory, string name = null)
- public IStashboxContainer RegisterFunc<T1, TService>(Func<T1, IDependencyResolver, TService> factory, string name = null)
- public IStashboxContainer RegisterFunc<T1, T2, TService>(Func<T1, T2, IDependencyResolver, TService> factory, string name = null)
- public IStashboxContainer RegisterFunc<T1, T2, T3, TService>(Func<T1, T2, T3, IDependencyResolver, TService> factory, string name = null)
- public IStashboxContainer RegisterFunc<T1, T2, T3, T4, TService>(Func<T1, T2, T3, T4, IDependencyResolver, TService> factory, string name = null)
- public IStashboxContainer RegisterScoped<TFrom, TTo>(object name = null) where TTo : TFrom
- public IStashboxContainer RegisterScoped(Type typeFrom, Type typeTo, object name = null)
- public IStashboxContainer RegisterScoped<TTo>(object name = null)
- public IStashboxContainer RegisterSingleton<TFrom, TTo>(object name = null) where TTo : TFrom
- public IStashboxContainer RegisterSingleton<TTo>(object name = null)
- public IStashboxContainer RegisterSingleton(Type typeFrom, Type typeTo, object name = null)
- public object Resolve(Type typeFrom)
- public object Resolve(Type typeFrom, object[] dependencyOverrides)
- public object Resolve(Type typeFrom, object name)
- public object Resolve(Type typeFrom, object name, object[] dependencyOverrides)
- public IEnumerable<TKey> ResolveAll<TKey>()
- public IEnumerable<TKey> ResolveAll<TKey>(object name)
- public object Resolve(Type typeFrom, bool nullResultAllowed = false, object[] dependencyOverrides = null)
- public object Resolve(Type typeFrom, object name, bool nullResultAllowed = false, object[] dependencyOverrides = null)
- public IEnumerable<TKey> ResolveAll<TKey>(object name, object[] dependencyOverrides)
- public IEnumerable<object> ResolveAll(Type typeFrom)
- public IEnumerable<object> ResolveAll(Type typeFrom, object name)
- public IEnumerable<object> ResolveAll(Type typeFrom, object name, object[] dependencyOverrides)
- public Delegate ResolveFactory(Type typeFrom, object name = null, Type[] parameterTypes)
- public Delegate ResolveFactoryOrDefault(Type typeFrom, object name = null, Type[] parameterTypes)
- public object ResolveOrDefault(Type typeFrom)
- public object ResolveOrDefault(Type typeFrom, object[] dependencyOverrides)
- public object ResolveOrDefault(Type typeFrom, object name)
- public object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides)
- public Delegate ResolveFactory(Type typeFrom, object name = null, bool nullResultAllowed = false, Type[] parameterTypes)
Stashbox.Configuration
Stashbox.Lifetime
-
public abstract class ExpressionLifetimeDescriptor : LifetimeDescriptor
-
public abstract class FactoryLifetimeDescriptor : LifetimeDescriptor
- protected abstract Expression ApplyLifetime(Func<IResolutionScope, IRequestContext, object> factory, ServiceRegistration serviceRegistration, ResolutionContext resolutionContext, Type resolveType)
- protected abstract Expression ApplyLifetime(Func<IResolutionScope, IRequestContext, object> factory, ServiceRegistration serviceRegistration, ResolutionContext resolutionContext, Type resolveType)
Stashbox.Registration
-
public interface IDecoratorRepository
- void AddDecorator(Type type, ServiceRegistration serviceRegistration, bool remap)
- IEnumerable<ServiceRegistration> GetDecoratorsOrDefault(Type implementationTypeToDecorate, TypeInformation typeInformation, ResolutionContext resolutionContext)
- IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
- void AddDecorator(Type type, ServiceRegistration serviceRegistration, bool remap)
- IEnumerable<ServiceRegistration> GetDecoratorsOrDefault(Type implementationTypeToDecorate, TypeInformation typeInformation, ResolutionContext resolutionContext)
- IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
-
public interface IRegistrationRepository
- bool AddOrReMapRegistration(ServiceRegistration registration, Type serviceType)
- bool AddOrUpdateRegistration(ServiceRegistration registration, Type serviceType)
- bool AddOrReMapRegistration(ServiceRegistration registration, Type serviceType)
- bool AddOrUpdateRegistration(ServiceRegistration registration, Type serviceType)
- IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
- ServiceRegistration GetRegistrationOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
- IEnumerable<ServiceRegistration> GetRegistrationsOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
- IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
- ServiceRegistration GetRegistrationOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
- IEnumerable<ServiceRegistration> GetRegistrationsOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
-
public class RegistrationContext
-
public enum RegistrationType
-
public class ServiceRegistration
Stashbox.Registration.Fluent
Stashbox.Registration.ServiceRegistrations
Stashbox.Resolution
Stashbox.Utils
System.Linq.Expressions