Exemple #1
0
        public override object GetData(ITabContext context)
        {
            var ctx = context.GetNancyContext();

            return(new RoutesModel(ctx, catalog));
        }
Exemple #2
0
        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()));
 }
Exemple #4
0
        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());
 }
Exemple #6
0
        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);
 }
Exemple #8
0
 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);
 }
Exemple #11
0
 public override object GetData(ITabContext context)
 {
     var ctx = context.GetNancyContext();
     return new InfoModel(rootPathProvider, configuration);
 }
Exemple #12
0
 public override object GetData(ITabContext context)
 {
     var ctx = context.GetNancyContext();
     return new RequestModel(ctx, rootPath, routeResolver);
 }
Exemple #13
0
        public override object GetData(ITabContext context)
        {
            var ctx = context.GetNancyContext();

            return(new ViewsModel(ctx, this.viewEngines, this.viewLocator.GetAllCurrentlyDiscoveredViews()));
        }