public void Start(Uri uri, PluginRegistration pluginRegistration) { _pluginApi = new PluginApi( pluginRegistration.PluginInformation, pluginRegistration.CommandDescriptions); pluginRegistration.RegisterHttpApi(_pluginApi); var apiBootstrapper = new ApiBootstrapper(pluginRegistration.GetModules()); _nancyHost = new NancyHost(uri, apiBootstrapper); _nancyHost.Start(); }