Skip to content

Instantly share code, notes, and snippets.

@nul800sebastiaan
Created November 21, 2014 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nul800sebastiaan/6563619e9921f45c5a2d to your computer and use it in GitHub Desktop.
Save nul800sebastiaan/6563619e9921f45c5a2d to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using Umbraco.Core.Models;
using Umbraco.Web.Models;
namespace Umbraco.Course.Models
{
public class Stream : RenderModel
{
public Stream(IPublishedContent content, CultureInfo culture)
: base(content, culture) { }
public int Page { get; set; }
public int TotalPages { get; set; }
public int PreviousPage { get; set; }
public int NextPage { get; set; }
public bool IsFirstPage { get; set; }
public bool IsLastPage { get; set; }
public IEnumerable<IPublishedContent> StatusUpdates { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment