Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 617 Bytes
using System;
namespace Agatha.Common.InversionOfControl
public interface IContainer
void Register(Type componentType, Type implementationType, Lifestyle lifeStyle);
void Register<TComponent, TImplementation>(Lifestyle lifestyle) where TImplementation : TComponent;
void RegisterInstance(Type componentType, object instance);
void RegisterInstance<TComponent>(TComponent instance);
TComponent Resolve<TComponent>();
TComponent Resolve<TComponent>(string key);
object Resolve(Type componentType);
TComponent TryResolve<TComponent>();
void Release(object component);
Jump to Line
Something went wrong with that request. Please try again.