public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return(new RoutesModel(ctx, catalog)); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return(new RequestModel(ctx, rootPath, routeResolver)); }
public override object GetData(ITabContext context) { return(new ContentNegotiationModel(context.GetNancyContext())); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return(new AuthenticationModel(ctx.CurrentUser)); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return new ViewsModel(ctx, this.viewEngines, this.viewLocator.GetAllCurrentlyDiscoveredViews()); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return(new InfoModel(rootPathProvider, configuration)); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return new AuthenticationModel(ctx.CurrentUser); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return new RoutesModel(ctx, catalog); }
public override object GetData(ITabContext context) { return new ContentNegotiationModel(context.GetNancyContext()); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return new ViewEnginesModel(ctx, this.viewEngines); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return new InfoModel(rootPathProvider, configuration); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return new RequestModel(ctx, rootPath, routeResolver); }
public override object GetData(ITabContext context) { var ctx = context.GetNancyContext(); return(new ViewsModel(ctx, this.viewEngines, this.viewLocator.GetAllCurrentlyDiscoveredViews())); }