Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 343 Bytes
using System;
namespace ServiceStack
{
public interface IContainer
{
Func<object> CreateFactory(Type type);
IContainer AddSingleton(Type type, Func<object> factory);
IContainer AddTransient(Type type, Func<object> factory);
object Resolve(Type type);
bool Exists(Type type);
}
}