API Diff between 4.2.0-preview-684 and 2.9.0-preview-523
283 Additions
183 Removals
Stashbox
-
public static class CollectionRegistratorExtensions
- public static IStashboxContainer RegisterAssemblies(this IDependencyCollectionRegistrator registrator, IEnumerable<Assembly> assemblies, Func<Type, bool> selector = null, Action<RegistrationConfigurator> configurator = null)
- public static IStashboxContainer RegisterAssembly(this IDependencyCollectionRegistrator registrator, Assembly assembly, Func<Type, bool> selector = null, Action<RegistrationConfigurator> configurator = null)
- public static IStashboxContainer RegisterAssemblyContaining<TFrom>(this IDependencyCollectionRegistrator registrator, Func<Type, bool> selector = null, Action<RegistrationConfigurator> configurator = null)
- public static IStashboxContainer RegisterAssemblyContaining(this IDependencyCollectionRegistrator registrator, Type typeFrom, Func<Type, bool> selector = null, Action<RegistrationConfigurator> configurator = null)
- public static IStashboxContainer RegisterAssemblies(this IDependencyCollectionRegistrator registrator, IEnumerable<Assembly> assemblies, Func<Type, bool> selector = null, Func<Type, Type, bool> serviceTypeSelector = null, bool registerSelf = true, Action<RegistrationConfigurator> configurator = null)
- public static IStashboxContainer RegisterAssembly(this IDependencyCollectionRegistrator registrator, Assembly assembly, Func<Type, bool> selector = null, Func<Type, Type, bool> serviceTypeSelector = null, bool registerSelf = true, Action<RegistrationConfigurator> configurator = null)
- public static IStashboxContainer RegisterAssemblyContaining<TFrom>(this IDependencyCollectionRegistrator registrator, Func<Type, bool> selector = null, Func<Type, Type, bool> serviceTypeSelector = null, bool registerSelf = true, Action<RegistrationConfigurator> configurator = null)
- public static IStashboxContainer RegisterAssemblyContaining(this IDependencyCollectionRegistrator registrator, Type typeFrom, Func<Type, bool> selector = null, Func<Type, Type, bool> serviceTypeSelector = null, bool registerSelf = true, Action<RegistrationConfigurator> configurator = null)
-
public class ContainerContext : IContainerContext
-
public static class DecoratorRegistratorExtensions
-
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 static class DependencyReMapperExtensions
-
public interface IContainerConfigurator
-
public interface IContainerContext
-
public interface IDecoratorRegistrator
-
public interface IDependencyCollectionRegistrator
- IStashboxContainer RegisterTypes(IEnumerable<Type> types, Func<Type, bool> selector = null, Action<RegistrationConfigurator> configurator = null)
- IStashboxContainer RegisterTypes(IEnumerable<Type> types, Func<Type, bool> selector = null, Func<Type, Type, bool> serviceTypeSelector = null, bool registerSelf = true, Action<RegistrationConfigurator> configurator = null)
-
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
- IStashboxContainer ReMap<TFrom, TTo>(Action<RegistrationConfigurator<TTo>> configurator = null) where TTo : TFrom
- IStashboxContainer ReMap<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom>> configurator = null)
- IStashboxContainer ReMap<TFrom, TTo>(Action<RegistrationConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom
- IStashboxContainer ReMap<TFrom>(Type typeTo, Action<RegistrationConfigurator<TFrom, TFrom>> configurator = null)
- IStashboxContainer ReMap<TTo>(Action<RegistrationConfigurator<TTo>> configurator = null)
- IStashboxContainer ReMap<TTo>(Action<RegistrationConfigurator<TTo, TTo>> configurator = null)
- IStashboxContainer ReMapDecorator<TFrom, TTo>(Action<DecoratorConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom
- IStashboxContainer ReMapDecorator<TFrom>(Type typeTo, Action<DecoratorConfigurator<TFrom, TFrom>> configurator = null)
-
public interface IDependencyResolver : IServiceProvider, IAsyncDisposable, IDisposable
-
public interface IResolutionScope : IDependencyResolver, IServiceProvider, IAsyncDisposable, IDisposable
- bool HasScopedInstances { get; }
- TDisposable AddDisposableTracking<TDisposable>(TDisposable disposable) where TDisposable : IDisposable
- void AddScopedInstance(Type key, object value, object name = null)
- TService AddWithFinalizer<TService>(TService finalizable, Action<TService> finalizer)
- object AddDisposableTracking(object disposable)
- object AddWithAsyncInitializer(object initializable, Func<object, IDependencyResolver, CancellationToken, Task> initializer)
- object AddWithFinalizer(object finalizable, Action<object> finalizer)
- object GetOrAddScopedItem(int key, object sync, Func<IResolutionScope, object> factory)
- object GetScopedInstanceOrDefault(Type key, object name = null)
- object GetOrAddScopedObject(int key, Func<IResolutionScope, object> factory, Type requestedType, bool validateLifetimeFromRootScope = false)
- void ResetRuntimetCircularDependencyBarrier(int key)
- void ResetRuntimeCircularDependencyBarrier(int key)
-
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 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 IStashboxContainer CreateChildContainer()
- public void Configure(Action<ContainerConfigurator> config)
- public IStashboxContainer CreateChildContainer(Action<ContainerConfigurator> config = null)
- public IEnumerable<KeyValuePair<Type, IServiceRegistration>> GetRegistrationMappings()
- public ValueTask DisposeAsync()
- public IEnumerable<RegistrationDiagnosticsInfo> GetRegistrationDiagnostics()
- public IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
- public ValueTask InvokeAsyncInitializers(CancellationToken token = default)
- 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 RegisterDecorator<TFrom, TTo>(Action<DecoratorConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom
- public IStashboxContainer RegisterDecorator(Type typeTo, Action<DecoratorConfigurator> configurator = null)
- public IStashboxContainer RegisterDecorator<TTo>(Action<DecoratorConfigurator<TTo, TTo>> configurator = null)
- public IStashboxContainer RegisterDecorator<TFrom>(Type typeTo, Action<DecoratorConfigurator<TFrom, TFrom>> configurator = null)
- 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 RegisterTypes(IEnumerable<Type> types, Func<Type, bool> selector = null, Action<RegistrationConfigurator> configurator = null)
- public IStashboxContainer RegisterTypes(IEnumerable<Type> types, Func<Type, bool> selector = null, Func<Type, Type, bool> serviceTypeSelector = null, bool registerSelf = true, Action<RegistrationConfigurator> configurator = null)
- 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 ReMapDecorator<TFrom, TTo>(Action<DecoratorConfigurator<TFrom, TTo>> configurator = null) where TTo : TFrom
- public IStashboxContainer ReMapDecorator<TFrom>(Type typeTo, Action<DecoratorConfigurator<TFrom, TFrom>> 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.Attributes
Stashbox.BuildUp
Stashbox.Configuration
Stashbox.ContainerExtension
Stashbox.Entity
Stashbox.Entity.Resolution
Stashbox.Exceptions
Stashbox.Lifetime
Stashbox.Multitenant
Stashbox.Registration
-
public interface IDecoratorRepository
- void AddDecorator(Type type, IServiceRegistration serviceRegistration, bool remap, bool replace)
- KeyValue<Type, IServiceRegistration>[] GetDecoratorsOrDefault(Type type)
- void AddDecorator(Type type, ServiceRegistration serviceRegistration, bool remap)
- IEnumerable<ServiceRegistration> GetDecoratorsOrDefault(Type implementationTypeToDecorate, TypeInformation typeInformation, ResolutionContext resolutionContext)
- ServiceRegistration GetNextDecoratorOrDefault(Type implementationTypeToDecorate, TypeInformation typeInformation, ResolutionContext resolutionContext)
- IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
-
public interface IRegistrationRepository
- void AddOrUpdateRegistration(IServiceRegistration registration, Type serviceType, bool remap, bool replace)
- bool ContainsRegistration(Type type, object name)
- IEnumerable<KeyValuePair<Type, IServiceRegistration>> GetRegistrationMappings()
- IServiceRegistration GetRegistrationOrDefault(Type type, ResolutionContext resolutionContext, object name = null)
- IServiceRegistration GetRegistrationOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
- IEnumerable<IServiceRegistration> GetRegistrationsOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
- bool AddOrReMapRegistration(ServiceRegistration registration, Type serviceType)
- bool AddOrUpdateRegistration(ServiceRegistration registration, Type serviceType)
- bool ContainsRegistration(Type type, object name, bool includeOpenGenerics = true)
- IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings()
- ServiceRegistration GetRegistrationOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
- IEnumerable<ServiceRegistration> GetRegistrationsOrDefault(TypeInformation typeInfo, ResolutionContext resolutionContext)
-
public interface IServiceRegistration
-
public class RegistrationContext
- public static readonly RegistrationContext Empty
- public IEnumerable<Type> AdditionalServiceTypes { get; }
- public IEnumerable<Type> AttributeConditions { get; }
- public Func<object, IDependencyResolver, CancellationToken, Task> AsyncInitializer { get; }
- public Func<MemberInfo, bool> AutoMemberInjectionFilter { get; }
- public Func<IEnumerable<ConstructorInformation>, IEnumerable<ConstructorInformation>> ConstructorSelectionRule { get; }
- public Func<IDependencyResolver, object> ContainerFactory { get; }
- public Func<IEnumerable<ConstructorInfo>, IEnumerable<ConstructorInfo>> ConstructorSelectionRule { get; }
- public bool FactoryCacheDisabled { get; }
- public object Finalizer { get; }
- public Delegate Factory { get; }
- public Type[] FactoryParameters { get; }
- public Action<object> Finalizer { get; }
- public object Initializer { get; }
- public Dictionary<string, object> InjectionMemberNames { get; }
- public IEnumerable<InjectionParameter> InjectionParameters { get; }
- public Delegate Initializer { get; }
- public ILifetime Lifetime { get; }
- public Func<TypeInformation, bool> MemberInjectionFilter { get; }
- public LifetimeDescriptor Lifetime { get; }
- public bool ReplaceExistingRegistration { get; }
- public Func<TypeInformation, bool> ResolutionCondition { get; }
- public Func<object> SingleFactory { get; }
- public Type TargetTypeCondition { get; }
- public RegistrationContext()
- public static RegistrationContext New()
- public RegistrationContext Clone()
-
public struct RegistrationDiagnosticsInfo
-
public enum RegistrationType
-
public class ServiceRegistration
Stashbox.Registration.Fluent
-
public class BaseDecoratorConfigurator<TConfigurator> : BaseFluentConfigurator<TConfigurator> where TConfigurator : BaseDecoratorConfigurator<TConfigurator>
-
public class BaseFluentConfigurator<TConfigurator> : RegistrationConfiguration where TConfigurator : BaseFluentConfigurator<TConfigurator>
-
public class DecoratorConfigurator : BaseDecoratorConfigurator<DecoratorConfigurator>, IFluentCompositor<DecoratorConfigurator>
- public DecoratorConfigurator WithFactory(Func<IDependencyResolver, object> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator WithFactory(Func<object> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator WithFactory<T1>(Func<T1, object> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator WithFactory<T1, T2>(Func<T1, T2, object> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator WithFactory<T1, T2, T3>(Func<T1, T2, T3, object> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator WithFactory<T1, T2, T3, T4>(Func<T1, T2, T3, T4, object> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator WithFactory<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, object> factory, bool isCompiledLambda = false)
-
public class DecoratorConfigurator<TService, TImplementation> : BaseDecoratorConfigurator<DecoratorConfigurator<TService, TImplementation>>, IFluentCompositor<TImplementation, DecoratorConfigurator<TService, TImplementation>>
- public DecoratorConfigurator<TService, TImplementation> WithDependencyBinding<TResult>(Expression<Func<TImplementation, TResult>> expression, object dependencyName = null)
- public DecoratorConfigurator<TService, TImplementation> WithFactory(Func<TImplementation> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator<TService, TImplementation> WithFactory(Func<IDependencyResolver, TImplementation> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator<TService, TImplementation> WithFactory<T1>(Func<T1, TImplementation> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator<TService, TImplementation> WithFactory<T1, T2>(Func<T1, T2, TImplementation> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator<TService, TImplementation> WithFactory<T1, T2, T3>(Func<T1, T2, T3, TImplementation> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator<TService, TImplementation> WithFactory<T1, T2, T3, T4>(Func<T1, T2, T3, T4, TImplementation> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator<TService, TImplementation> WithFactory<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, TImplementation> factory, bool isCompiledLambda = false)
- public DecoratorConfigurator<TService, TImplementation> WithFinalizer(Action<TImplementation> finalizer)
- public DecoratorConfigurator<TService, TImplementation> WithInitializer(Action<TImplementation, IDependencyResolver> initializer)
-
public class FluentServiceConfigurator<TConfigurator> : BaseFluentConfigurator<TConfigurator>, IFluentCompositor<TConfigurator> where TConfigurator : FluentServiceConfigurator<TConfigurator>
- public TConfigurator AsImplementedTypes()
- public TConfigurator AsServiceAlso(Type serviceType)
- public TConfigurator InNamedScope(object scopeName)
- public TConfigurator InScopeDefinedBy(Type type)
- public TConfigurator InScopeDefinedBy<TScopeDefiner>()
- public TConfigurator When(Func<TypeInformation, bool> resolutionCondition)
- public TConfigurator WhenDependantIs<TTarget>()
- public TConfigurator WhenDependantIs(Type targetType)
- public TConfigurator WhenHas<TAttribute>() where TAttribute : Attribute
- public TConfigurator WhenHas(Type attributeType)
- public TConfigurator WithInstance(object instance, bool wireUp = false)
- public TConfigurator WithLifetime(ILifetime lifetime)
- public TConfigurator WithFactory<T1>(Func<T1, object> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory<T1, T2>(Func<T1, T2, object> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory<T1, T2, T3>(Func<T1, T2, T3, object> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory<T1, T2, T3, T4>(Func<T1, T2, T3, T4, object> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, object> factory, bool isCompiledLambda = false)
- public TConfigurator WithPerResolutionRequestLifetime()
- public TConfigurator WithScopedLifetime()
- public TConfigurator WithSingletonLifetime()
-
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>, IFluentCompositor<TImplementation, TConfigurator> where TConfigurator : FluentServiceConfigurator<TService, TImplementation, TConfigurator>
- public TConfigurator WithAsyncInitializer(Func<TImplementation, IDependencyResolver, CancellationToken, Task> initializer)
- public TConfigurator WithDependencyBinding<TResult>(Expression<Func<TImplementation, TResult>> expression, object dependencyName = null)
- public TConfigurator WithFactory(Func<TImplementation> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory(Func<IDependencyResolver, TImplementation> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory<T1>(Func<T1, TImplementation> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory<T1, T2>(Func<T1, T2, TImplementation> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory<T1, T2, T3>(Func<T1, T2, T3, TImplementation> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory<T1, T2, T3, T4>(Func<T1, T2, T3, T4, TImplementation> factory, bool isCompiledLambda = false)
- public TConfigurator WithFactory<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, TImplementation> factory, bool isCompiledLambda = false)
- public TConfigurator WithFinalizer(Action<TImplementation> finalizer)
- public TConfigurator WithInitializer(Action<TImplementation, IDependencyResolver> initializer)
-
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
-
public interface IMultiServiceResolver : IResolver
-
public interface IEnumerableSupportedResolver : IResolver
-
public interface IResolutionContext
-
public interface IResolutionStrategy
- Expression[] BuildAllResolutionExpressions(IContainerContext containerContext, ResolutionContext resolutionContext, TypeInformation typeInformation)
- Expression BuildResolutionExpression(IContainerContext containerContext, ResolutionContext resolutionContext, TypeInformation typeInformation, IEnumerable<InjectionParameter> injectionParameters = null, bool forceSkipUnknownTypeCheck = false)
- Expression BuildExpressionForRegistration(ServiceRegistration serviceRegistration, ResolutionContext resolutionContext, TypeInformation typeInformation)
- Expression BuildExpressionForType(ResolutionContext resolutionContext, TypeInformation typeInformation)
- IEnumerable<Expression> BuildExpressionsForEnumerableRequest(ResolutionContext resolutionContext, TypeInformation typeInformation)
- bool IsTypeResolvable(ResolutionContext resolutionContext, TypeInformation typeInformation)
-
public interface IResolver
-
public interface IWrapper
-
public class ResolutionContext : IResolutionContext
-
public class TypeInformation
System.Linq.Expressions
-
public static class ExpressionExtensions
- public static BlockExpression AsBlock(this IList<Expression> expressions, ParameterExpression[] variables)
- public static BlockExpression AsBlock(this IEnumerable<Expression> expressions, ParameterExpression[] variables)
- public static LambdaExpression AsLambda(this Expression expression, Type delegateType, IEnumerable<ParameterExpression> parameters)
- public static MethodCallExpression CallMethod(this Expression target, MethodInfo methodInfo, IEnumerable<Expression> parameters)
- public static MethodCallExpression CallMethod(this MethodInfo methodInfo, Expression target, IEnumerable<Expression> parameters)
- public static MethodCallExpression CallStaticMethod(this MethodInfo methodInfo, IEnumerable<Expression> parameters)
- public static MemberInitExpression InitMembers(this Expression expression, IList<MemberBinding> bindings)
- public static MemberInitExpression InitMembers(this Expression expression, IEnumerable<MemberBinding> bindings)
- public static MemberInitExpression InitMembers(this Expression expression, MemberBinding[] bindings)
- public static NewArrayExpression InitNewArray(this Type type, IEnumerable<Expression> initializerExpressions)
- public static InvocationExpression InvokeDelegate(this Delegate delegate, IEnumerable<Expression> parameters)