API Diff between 3.1.0-preview-539 and 2.9.0-preview-517
153 Additions
148 Removals
Stashbox
-
public class ContainerContext : IContainerContext
-
public static class DependencyRegistratorExtensions
- public static IStashboxContainer RegisterInstance(this IDependencyRegistrator registrator, object instance, object name = null, bool withoutDisposalTracking = false)
- public static IStashboxContainer RegisterInstancesAs<TFrom>(this IDependencyRegistrator registrator, IEnumerable<TFrom> instances, bool withoutDisposalTracking = false)
- public static IStashboxContainer RegisterInstancesAs<TFrom>(this IDependencyRegistrator registrator, TFrom[] instances)
- public static IStashboxContainer RegisterInstances<TFrom>(this IDependencyRegistrator registrator, IEnumerable<TFrom> instances, bool withoutDisposalTracking = false)
- public static IStashboxContainer RegisterInstances<TFrom>(this IDependencyRegistrator registrator, TFrom[] instances)
- public static IStashboxContainer WireUp(this IDependencyRegistrator registrator, object instance, object name = null, bool withoutDisposalTracking = false)
-
public interface IContainerConfigurator
-
public interface IContainerContext
-
public interface IDependencyRegistrator
- IStashboxContainer Register<TFrom, TTo>(Action<RegistrationConfigurator<TTo>> configurator = null) where TTo : TFrom
- IStashboxContainer Register<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom>> configurator = null)
- IStashboxContainer Register<TFrom, TTo>(Action<RegistrationConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom
- IStashboxContainer Register<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom, TFrom>> configurator = null)
- IStashboxContainer Register<TTo>(Action<RegistrationConfigurator<TTo>> configurator = null)
- IStashboxContainer Register<TTo>(Action<RegistrationConfigurator<TTo, TTo>> configurator = null)
- IStashboxContainer RegisterInstance(Type serviceType, object instance, object name = null, bool withoutDisposalTracking = false)
- IStashboxContainer RegisterInstanceAs<TFrom>(TFrom instance, object name = null, bool withoutDisposalTracking = false, Action<TFrom> finalizerDelegate = null)
- IStashboxContainer WireUp(Type serviceType, object instance, object name = null, bool withoutDisposalTracking = false)
- IStashboxContainer WireUpAs<TFrom>(TFrom instance, object name = null, bool withoutDisposalTracking = false, Action<TFrom> finalizerDelegate = null)
- IStashboxContainer RegisterInstance<TInstance>(TInstance instance, object name = null, bool withoutDisposalTracking = false, Action<TInstance> finalizerDelegate = null)
- IStashboxContainer RegisterInstance(object instance, Type serviceType, object name = null, bool withoutDisposalTracking = false)
- IStashboxContainer WireUp<TInstance>(TInstance instance, object name = null, bool withoutDisposalTracking = false, Action<TInstance> finalizerDelegate = null)
- IStashboxContainer WireUp(object instance, Type serviceType, object name = null, bool withoutDisposalTracking = false)
-
public interface IDependencyReMapper
-
public interface IResolutionScope : IDisposable
-
public interface IStashboxContainer : IDependencyRegistrator, IDependencyResolver, IServiceProvider, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
-
public sealed class StashboxContainer : IStashboxContainer, IDependencyRegistrator, IDependencyResolver, IServiceProvider, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
- public IStashboxContainer ParentContainer { get; }
- public IResolutionScope RootScope { get; }
- public StashboxContainer(Action<IContainerConfigurator> config = null)
- public StashboxContainer(Action<ContainerConfigurator> config = null)
- public void Configure(Action<IContainerConfigurator> config)
- public void Configure(Action<ContainerConfigurator> config)
- public IEnumerable<KeyValuePair<Type, IServiceRegistration>> GetRegistrationMappings()
- public IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
- public IStashboxContainer Register<TFrom, TTo>(Action<RegistrationConfigurator<TTo>> configurator = null) where TTo : TFrom
- public IStashboxContainer Register<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom>> configurator = null)
- public IStashboxContainer Register<TFrom, TTo>(Action<RegistrationConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom
- public IStashboxContainer Register<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom, TFrom>> configurator = null)
- public IStashboxContainer Register<TTo>(Action<RegistrationConfigurator<TTo>> configurator = null)
- public IStashboxContainer Register<TTo>(Action<RegistrationConfigurator<TTo, TTo>> configurator = null)
- public void RegisterExtension(IContainerExtension containerExtension)
- public IStashboxContainer RegisterInstance(Type serviceType, object instance, object name = null, bool withoutDisposalTracking = false)
- public IStashboxContainer RegisterInstanceAs<TFrom>(TFrom instance, object name = null, bool withoutDisposalTracking = false, Action<TFrom> finalizerDelegate = null)
- public IStashboxContainer RegisterInstance<TInstance>(TInstance instance, object name = null, bool withoutDisposalTracking = false, Action<TInstance> finalizerDelegate = null)
- public IStashboxContainer RegisterInstance(object instance, Type serviceType, object name = null, bool withoutDisposalTracking = false)
- public IStashboxContainer ReMap<TFrom, TTo>(Action<RegistrationConfigurator<TTo>> configurator = null) where TTo : TFrom
- public IStashboxContainer ReMap<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom>> configurator = null)
- public IStashboxContainer ReMap<TFrom, TTo>(Action<RegistrationConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom
- public IStashboxContainer ReMap<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom, TFrom>> configurator = null)
- public IStashboxContainer ReMap<TTo>(Action<RegistrationConfigurator<TTo>> configurator = null)
- public IStashboxContainer ReMap<TTo>(Action<RegistrationConfigurator<TTo, TTo>> configurator = null)
- public IStashboxContainer WireUp(Type serviceType, object instance, object name = null, bool withoutDisposalTracking = false)
- public IStashboxContainer WireUpAs<TFrom>(TFrom instance, object name = null, bool withoutDisposalTracking = false, Action<TFrom> finalizerDelegate = null)
- public IStashboxContainer WireUp<TInstance>(TInstance instance, object name = null, bool withoutDisposalTracking = false, Action<TInstance> finalizerDelegate = null)
- public IStashboxContainer WireUp(object instance, Type serviceType, object name = null, bool withoutDisposalTracking = false)
Stashbox.BuildUp
Stashbox.Configuration
Stashbox.ContainerExtension
Stashbox.Entity
Stashbox.Entity.Resolution
Stashbox.Exceptions
Stashbox.Lifetime
Stashbox.Registration
-
public class DecoratorRepository : IDecoratorRepository
-
public interface IDecoratorRepository
-
public interface IRegistrationRepository
- void AddOrUpdateRegistration(IServiceRegistration registration, Type serviceType, bool remap, bool replace)
- void AddOrUpdateRegistration(ServiceRegistration registration, Type serviceType, bool remap, bool replace)
- IEnumerable<KeyValuePair<Type, IServiceRegistration>> GetRegistrationMappings()
- IServiceRegistration GetRegistrationOrDefault(Type type, ResolutionContext resolutionContext, object name = null)
- IServiceRegistration GetRegistrationOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
- IEnumerable<KeyValue<object, IServiceRegistration>> GetRegistrationsOrDefault(Type type, ResolutionContext resolutionContext)
- IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
- ServiceRegistration GetRegistrationOrDefault(Type type, ResolutionContext resolutionContext, object name = null)
- ServiceRegistration GetRegistrationOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
- IEnumerable<ServiceRegistration> GetRegistrationsOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
-
public interface IServiceRegistration
-
public class RegistrationContext
-
public enum RegistrationType
-
public class ServiceRegistration
Stashbox.Registration.Fluent
-
public class BaseFluentConfigurator<TConfigurator> : RegistrationConfiguration where TConfigurator : BaseFluentConfigurator<TConfigurator>
-
public class FluentServiceConfigurator<TConfigurator> : BaseFluentConfigurator<TConfigurator> where TConfigurator : FluentServiceConfigurator<TConfigurator>
-
public class FluentServiceConfigurator<TService, TConfigurator> : FluentServiceConfigurator<TConfigurator>, IFluentServiceConfigurator<TService, TConfigurator>, IFluentServiceConfigurator<TConfigurator>, IBaseFluentConfigurator<TConfigurator> where TConfigurator : FluentServiceConfigurator<TService, TConfigurator>
-
public interface IBaseFluentConfigurator<TFluentConfigurator> where TFluentConfigurator : IBaseFluentConfigurator<TFluentConfigurator>
-
public interface IFluentServiceConfigurator<TConfigurator> : IBaseFluentConfigurator<TConfigurator> where TConfigurator : IFluentServiceConfigurator<TConfigurator>
-
public interface IFluentServiceConfigurator<TService, TConfigurator> : IFluentServiceConfigurator<TConfigurator>, IBaseFluentConfigurator<TConfigurator> where TConfigurator : IFluentServiceConfigurator<TService, TConfigurator>
-
public class FluentServiceConfigurator<TService, TImplementation, TConfigurator> : FluentServiceConfigurator<TConfigurator> where TConfigurator : FluentServiceConfigurator<TService, TImplementation, TConfigurator>
-
public class RegistrationConfigurator : FluentServiceConfigurator<RegistrationConfigurator>
-
public class RegistrationConfigurator<TService> : FluentServiceConfigurator<TService, RegistrationConfigurator<TService>>
-
public class RegistrationConfigurator<TService, TImplementation> : FluentServiceConfigurator<TService, TImplementation, RegistrationConfigurator<TService, TImplementation>>
-
public class UnknownRegistrationConfigurator : RegistrationConfigurator
Stashbox.Resolution
System.Linq.Expressions