Beispiel #1
0
		public bool IsAfter(PageModel other)
		{
			if (this == this.Book.FrontCover)
			{
				return false;
			}
			return ((this == this.Book.BackCover) || (this.PageNumber > other.PageNumber));
		}
Beispiel #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);
		}