API Diff between 5.16.0 and 5.7.0
112 Additions
84 Removals
Stashbox
-
public static class DependencyResolverExtensions
- public static object Activate(this IDependencyResolver resolver, Type type, object[] arguments)
- public static TTo Activate<TTo>(this IDependencyResolver resolver, ResolutionBehavior resolutionBehavior, object[] arguments)
- public static bool CanResolve<TFrom>(this IDependencyResolver resolver, object name = null, ResolutionBehavior resolutionBehavior = 3)
- 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 Resolve<TKey>(this IDependencyResolver resolver, ResolutionBehavior resolutionBehavior)
- public static TKey Resolve<TKey>(this IDependencyResolver resolver, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static TKey Resolve<TKey>(this IDependencyResolver resolver, object name, ResolutionBehavior resolutionBehavior = 3)
- public static TKey Resolve<TKey>(this IDependencyResolver resolver, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static object Resolve(this IDependencyResolver resolver, Type typeFrom, ResolutionBehavior resolutionBehavior)
- public static object Resolve(this IDependencyResolver resolver, Type typeFrom, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static object Resolve(this IDependencyResolver resolver, Type typeFrom, object name, ResolutionBehavior resolutionBehavior = 3)
- public static IEnumerable<TKey> ResolveAll<TKey>(this IDependencyResolver resolver)
- public static IEnumerable<TKey> ResolveAll<TKey>(this IDependencyResolver resolver, ResolutionBehavior resolutionBehavior)
- public static IEnumerable<TKey> ResolveAll<TKey>(this IDependencyResolver resolver, object name, ResolutionBehavior resolutionBehavior = 3)
- public static IEnumerable<TKey> ResolveAll<TKey>(this IDependencyResolver resolver, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static IEnumerable<TKey> ResolveAll<TKey>(this IDependencyResolver resolver, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static IEnumerable<object> ResolveAll(this IDependencyResolver resolver, Type typeFrom)
- public static IEnumerable<object> ResolveAll(this IDependencyResolver resolver, Type typeFrom, ResolutionBehavior resolutionBehavior)
- public static IEnumerable<object> ResolveAll(this IDependencyResolver resolver, Type typeFrom, object name, ResolutionBehavior resolutionBehavior = 3)
- public static IEnumerable<object> ResolveAll(this IDependencyResolver resolver, Type typeFrom, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static IEnumerable<object> ResolveAll(this IDependencyResolver resolver, Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver, object name, ResolutionBehavior resolutionBehavior = 3)
- public static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver, object[] dependencyOverrides)
- public static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver, ResolutionBehavior resolutionBehavior)
- public static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static object ResolveOrDefault(this IDependencyResolver resolver, Type typeFrom, ResolutionBehavior resolutionBehavior)
- public static object ResolveOrDefault(this IDependencyResolver resolver, Type typeFrom, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public static object ResolveOrDefault(this IDependencyResolver resolver, Type typeFrom, object name, ResolutionBehavior resolutionBehavior = 3)
-
public interface IDependencyResolver : IServiceProvider, IAsyncDisposable, IDisposable
- object Activate(Type type, object[] arguments)
- object Activate(Type type, ResolutionBehavior resolutionBehavior, object[] arguments)
- TTo BuildUp<TTo>(TTo instance)
- bool CanResolve<TFrom>(object name = null)
- bool CanResolve(Type typeFrom, object name = null)
- TTo BuildUp<TTo>(TTo instance, ResolutionBehavior resolutionBehavior = 3)
- bool CanResolve(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3)
- 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)
- IEnumerable<TKey> ResolveAll<TKey>(object[] dependencyOverrides)
- 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[] dependencyOverrides)
- 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 Resolve(Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- Delegate ResolveFactory(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3, Type[] parameterTypes)
- Delegate ResolveFactoryOrDefault(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3, Type[] parameterTypes)
- object ResolveOrDefault(Type typeFrom, object[] dependencyOverrides)
- object ResolveOrDefault(Type typeFrom, object name)
- object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides)
- object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
-
public interface IStashboxContainer : IDependencyRegistrator, IDependencyResolver, IServiceProvider, IAsyncDisposable, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
-
public class Override
-
public sealed class StashboxContainer : IStashboxContainer, IDependencyRegistrator, IDependencyResolver, IServiceProvider, IAsyncDisposable, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
- public IEnumerable<ReadOnlyKeyValue<object, IStashboxContainer>> ChildContainers { get; }
- public object Activate(Type type, object[] arguments)
- public object Activate(Type type, ResolutionBehavior resolutionBehavior, object[] arguments)
- public TTo BuildUp<TTo>(TTo instance)
- public bool CanResolve<TFrom>(object name = null)
- public bool CanResolve(Type typeFrom, object name = null)
- public TTo BuildUp<TTo>(TTo instance, ResolutionBehavior resolutionBehavior = 3)
- public bool CanResolve(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3)
- public void Configure(Action<ContainerConfigurator> config)
- public IStashboxContainer CreateChildContainer(Action<ContainerConfigurator> config = null)
- public IStashboxContainer Configure(Action<ContainerConfigurator> config)
- public IStashboxContainer CreateChildContainer(Action<ContainerConfigurator> config = null, bool attachToParent = true)
- public IStashboxContainer CreateChildContainer(object identifier, Action<IStashboxContainer> config = null, bool attachToParent = true)
- public IStashboxContainer GetChildContainer(object identifier)
- public void RegisterResolver(IResolver resolver)
- public IStashboxContainer RegisterResolver(IResolver resolver)
- 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 IEnumerable<TKey> ResolveAll<TKey>(object[] dependencyOverrides)
- 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[] dependencyOverrides)
- 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 Resolve(Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public Delegate ResolveFactory(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3, Type[] parameterTypes)
- public Delegate ResolveFactoryOrDefault(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3, Type[] parameterTypes)
- public object ResolveOrDefault(Type typeFrom, object[] dependencyOverrides)
- public object ResolveOrDefault(Type typeFrom, object name)
- public object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides)
- public object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
Stashbox.Attributes
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, TypeInformation typeInformation)
-
public abstract class LifetimeDescriptor
-
public static class Lifetimes
Stashbox.Multitenant
-
public interface ITenantDistributor : IStashboxContainer, IDependencyRegistrator, IDependencyResolver, IServiceProvider, IAsyncDisposable, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
-
public sealed class TenantDistributor : ITenantDistributor, IStashboxContainer, IDependencyRegistrator, IDependencyResolver, IServiceProvider, IAsyncDisposable, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
- public IEnumerable<ReadOnlyKeyValue<object, IStashboxContainer>> ChildContainers { get; }
- public object Activate(Type type, object[] arguments)
- public object Activate(Type type, ResolutionBehavior resolutionBehavior, object[] arguments)
- public TTo BuildUp<TTo>(TTo instance)
- public bool CanResolve<TFrom>(object name = null)
- public bool CanResolve(Type typeFrom, object name = null)
- public TTo BuildUp<TTo>(TTo instance, ResolutionBehavior resolutionBehavior = 3)
- public bool CanResolve(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3)
- public void Configure(Action<ContainerConfigurator> config)
- public void ConfigureTenant(object tenantId, Action<IStashboxContainer> tenantConfig)
- public IStashboxContainer CreateChildContainer(Action<ContainerConfigurator> config = null)
- public IStashboxContainer Configure(Action<ContainerConfigurator> config)
- public void ConfigureTenant(object tenantId, Action<IStashboxContainer> tenantConfig, bool attachTenantToRoot = true)
- public IStashboxContainer CreateChildContainer(Action<ContainerConfigurator> config = null, bool attachToParent = true)
- public IStashboxContainer CreateChildContainer(object identifier, Action<IStashboxContainer> config = null, bool attachToParent = true)
- public IStashboxContainer GetChildContainer(object identifier)
- public void RegisterResolver(IResolver resolver)
- public IStashboxContainer RegisterResolver(IResolver resolver)
- 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 IEnumerable<TKey> ResolveAll<TKey>(object[] dependencyOverrides)
- 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[] dependencyOverrides)
- 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 Resolve(Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public Delegate ResolveFactory(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3, Type[] parameterTypes)
- public Delegate ResolveFactoryOrDefault(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3, Type[] parameterTypes)
- public object ResolveOrDefault(Type typeFrom, object[] dependencyOverrides)
- public object ResolveOrDefault(Type typeFrom, object name)
- public object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides)
- public object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
Stashbox.Registration
Stashbox.Registration.Fluent
Stashbox.Resolution