API Diff between 5.5.1 and 5.4.0-preview-755
39 Additions
56 Removals
Stashbox
-
public interface IDecoratorRegistrator
-
public interface IDependencyRegistrator
-
public interface 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>() where TTo : TFrom
- public IStashboxContainer Register<TFrom>(Type typeTo)
- public IStashboxContainer Register(Type typeFrom, Type typeTo)
- public IStashboxContainer Register<TTo>()
- public IStashboxContainer Register(Type typeTo)
- public IStashboxContainer Register<TTo>(object name = null)
- public IStashboxContainer RegisterDecorator(Type typeFrom, Type typeTo)
- public IStashboxContainer RegisterDecorator<TFrom, TTo>() where TTo : TFrom
- public IStashboxContainer RegisterDecorator(Type typeTo)
- public IStashboxContainer RegisterDecorator<TTo>()
- public IStashboxContainer RegisterDecorator<TFrom>(Type typeTo)
- public IStashboxContainer RegisterScoped<TFrom, TTo>() where TTo : TFrom
- public IStashboxContainer RegisterScoped(Type typeFrom, Type typeTo)
- public IStashboxContainer RegisterScoped<TTo>()
- public IStashboxContainer RegisterSingleton<TFrom, TTo>() where TTo : TFrom
- public IStashboxContainer RegisterSingleton<TTo>()
- public IStashboxContainer RegisterSingleton(Type typeFrom, Type typeTo)
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 OpenGenericRegistration : ServiceRegistration
-
public class ServiceRegistration
Stashbox.Registration.Fluent
Stashbox.Registration.ServiceRegistrations
Stashbox.Resolution
System.Linq.Expressions