API Diff between 5.7.0-preview-775 and 5.14.0
80 Additions
89 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, 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 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, 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 static TKey ResolveOrDefault<TKey>(this IDependencyResolver resolver, object[] dependencyOverrides)
-
public interface IDependencyResolver : IServiceProvider, IAsyncDisposable, IDisposable
- object Activate(Type type, ResolutionBehavior resolutionBehavior, object[] arguments)
- object Activate(Type type, object[] arguments)
- TTo BuildUp<TTo>(TTo instance, ResolutionBehavior resolutionBehavior = 3)
- bool CanResolve(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3)
- TTo BuildUp<TTo>(TTo instance)
- bool CanResolve<TFrom>(object name = null)
- bool CanResolve(Type typeFrom, object name = null)
- 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 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 ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- object ResolveOrDefault(Type typeFrom, object[] dependencyOverrides)
- object ResolveOrDefault(Type typeFrom, object name)
- object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides)
-
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<ReadOnlyKeyValue<object, IStashboxContainer>> ChildContainers { get; }
- public object Activate(Type type, ResolutionBehavior resolutionBehavior, object[] arguments)
- public object Activate(Type type, object[] arguments)
- public TTo BuildUp<TTo>(TTo instance, ResolutionBehavior resolutionBehavior = 3)
- public bool CanResolve(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3)
- public TTo BuildUp<TTo>(TTo instance)
- public bool CanResolve<TFrom>(object name = null)
- public bool CanResolve(Type typeFrom, object name = null)
- public IStashboxContainer CreateChildContainer(Action<ContainerConfigurator> config = null, bool attachToParent = true)
- public IStashboxContainer CreateChildContainer(object identifier, Action<IStashboxContainer> config = null, bool attachToParent = true)
- public IStashboxContainer CreateChildContainer(Action<ContainerConfigurator> config = null)
- public IStashboxContainer GetChildContainer(object identifier)
- 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 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 ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public object ResolveOrDefault(Type typeFrom, object[] dependencyOverrides)
- public object ResolveOrDefault(Type typeFrom, object name)
- public object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides)
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, TypeInformation typeInformation)
- protected abstract Expression ApplyLifetime(Func<IResolutionScope, IRequestContext, object> factory, ServiceRegistration serviceRegistration, ResolutionContext resolutionContext, Type resolveType)
-
public abstract class LifetimeDescriptor
-
public static class Lifetimes
Stashbox.Multitenant
-
public interface ITenantDistributor : IAsyncDisposable, IDisposable
-
public sealed class TenantDistributor : ITenantDistributor, IAsyncDisposable, IDisposable, IStashboxContainer, IDependencyRegistrator, IDependencyResolver, IServiceProvider, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
- public IEnumerable<ReadOnlyKeyValue<object, IStashboxContainer>> ChildContainers { get; }
- public IStashboxContainer RootContainer { get; }
- public object Activate(Type type, ResolutionBehavior resolutionBehavior, object[] arguments)
- public object Activate(Type type, object[] arguments)
- public TTo BuildUp<TTo>(TTo instance, ResolutionBehavior resolutionBehavior = 3)
- public bool CanResolve(Type typeFrom, object name = null, ResolutionBehavior resolutionBehavior = 3)
- public TTo BuildUp<TTo>(TTo instance)
- public bool CanResolve<TFrom>(object name = null)
- public bool CanResolve(Type typeFrom, object name = null)
- 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 void ConfigureTenant(object tenantId, Action<IStashboxContainer> tenantConfig)
- public IStashboxContainer CreateChildContainer(Action<ContainerConfigurator> config = null)
- public IStashboxContainer GetChildContainer(object identifier)
- 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 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 ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides, ResolutionBehavior resolutionBehavior = 3)
- public object ResolveOrDefault(Type typeFrom, object[] dependencyOverrides)
- public object ResolveOrDefault(Type typeFrom, object name)
- public object ResolveOrDefault(Type typeFrom, object name, object[] dependencyOverrides)
Stashbox.Registration
Stashbox.Registration.Fluent
Stashbox.Resolution