Exemplo n.º 1
0
		public bool IsAfter(PageModel other)
		{
			if (this == this.Book.FrontCover)
			{
				return false;
			}
			return ((this == this.Book.BackCover) || (this.PageNumber > other.PageNumber));
		}
Exemplo n.º 2
0
		public bool IsBefore(PageModel other)
		{
			if (this == this.Book.FrontCover)
			{
				return true;
			}
			if (this == this.Book.BackCover)
			{
				return false;
			}
			return (this.PageNumber < other.PageNumber);
		}