public void Register(INancyContainer container) { container.RegisterSingletonIfNone<INancyApplication, NancyApplication>(); }