public AvalonHelperWebSite( IViewProvider viewProvider, IControllerProviderFactory controllerProviderFactory, IController[] controllers, string name, int portNumber, string path) : base(viewProvider, controllerProviderFactory, controllers, name, portNumber, path) { }
public WebSite(IViewProvider viewProvider, IControllerProviderFactory controllerProviderFactory, IController[] controllers, string name, int portNumber, string path) { this.Name = name; this.PortNumber = portNumber; this.path = path; this.controllerProvider = controllerProviderFactory.Create(controllers.Where(c => c.GetType().Namespace.EndsWith(name)).ToArray()); this.ViewProvider = viewProvider; IsDefault = false; Priority = Priorities.Normal; DefaultWebPage = "index.html"; }