コード例 #1
0
ファイル: NewsApiArticle.cs プロジェクト: ryo0ka/planetnews
 public NewsApiArticle(NewsApiSourceShort source, string author, string title, string description, string url, string urlToImage, DateTime?publishedAt)
 {
     Source      = source;
     Author      = author;
     Title       = title;
     Description = description;
     Url         = url;
     UrlToImage  = urlToImage;
     PublishedAt = publishedAt;
 }
コード例 #2
0
 bool Equals(NewsApiSourceShort other)
 {
     return(Id == other.Id && Name == other.Name);
 }