public interface ISingleton : IDisposable { }
public class TransientDependency { }
public class Singleton : ISingleton
{
public void Dispose() { }
}
public class CompositionRoot : IDisposable, IHttpControllerActivator
{
private readonly ISingleton _singleton;
// pass in a...