Наследование: DefaultNancyBootstrapper
Пример #1
0
 public void Start()
 {
     var bootstrapper = new CritterBootstrapper();
     Repository = bootstrapper.Repository;
     TypeMapper = bootstrapper.TypeMapper;
     Host = new NancyHost(BaseUri, bootstrapper);
     Host.Start();
 }
Пример #2
0
 public void Start()
 {
     var bootstrapper = new CritterBootstrapper();
     this.Repository = bootstrapper.Repository;
     this.TypeMapper = bootstrapper.TypeMapper;
     host = new NancyHost(baseUri, bootstrapper);
     host.Start();
 }
Пример #3
0
        public void Start()
        {
            var bootstrapper = new CritterBootstrapper();

            Repository = bootstrapper.Repository;
            TypeMapper = bootstrapper.TypeMapper;
            Host       = new NancyHost(BaseUri, bootstrapper);
            Host.Start();
        }