IStashboxContainer
public interface IStashboxContainer : IDependencyRegistrator, IDependencyResolver, IServiceProvider, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
Represents a dependency injection container.
using Stashbox.Configuration;
using Stashbox.Registration;
using Stashbox.Resolution;
using System;
using System.Collections.Generic;
namespace Stashbox
{
public interface IStashboxContainer : IDependencyRegistrator, IDependencyResolver, IServiceProvider, IDisposable, IDependencyReMapper, IDependencyCollectionRegistrator, IDecoratorRegistrator, IFuncRegistrator
{
IContainerContext ContainerContext { get; }
void RegisterResolver(IResolver resolver);
IStashboxContainer CreateChildContainer();
bool CanResolve<TFrom>(object name = null);
bool CanResolve(Type typeFrom, object name = null);
bool IsRegistered<TFrom>(object name = null);
bool IsRegistered(Type typeFrom, object name = null);
void Configure(Action<ContainerConfigurator> config);
void Validate();
IEnumerable<KeyValuePair<Type, ServiceRegistration>> GetRegistrationMappings();
}
}