コード例 #1
0
		public NewsQueryResult(HistoricalNewsItem[] items)
		{
			if (items == null)
				throw new ArgumentNullException("items");

			Items = items.OrderByDescending(it => it.Created).ToArray();
		}
コード例 #2
0
		protected bool Equals(HistoricalNewsItem other)
		{
			return Id == other.Id && Created == other.Created && Updated == other.Updated;
		}