Inheritance: DefaultNancyBootstrapper
Exemplo n.º 1
0
 public void Start()
 {
     var bootstrapper = new CritterBootstrapper();
     this.Repository = bootstrapper.Repository;
     this.TypeMapper = bootstrapper.TypeMapper;
     host = new NancyHost(baseUri, bootstrapper);
     host.Start();
 }
Exemplo n.º 2
0
 public void Start()
 {
     var bootstrapper = new CritterBootstrapper();
     Repository = bootstrapper.Repository;
     TypeMapper = bootstrapper.TypeMapper;
     Host = new NancyHost(BaseUri, bootstrapper);
     Host.Start();
 }