Ejemplo n.º 1
0
 public Article(string title, string author, Cover cover, string description, List <Paragraph> body, List <RelatedMedia> relatedMedias, string trackingLink, ArticleStatus status, ArticleStatus comment)
 {
     this.title         = title;
     this.author        = author;
     this.cover         = cover;
     this.description   = description;
     this.body          = body;
     this.relatedMedias = relatedMedias;
     this.trackingLink  = trackingLink;
     this.status        = status;
     this.comment       = comment;
 }
Ejemplo n.º 2
0
 public CoverPhoto(string photoUrl, ArticleStatus status) : base("photo")
 {
     this.photoUrl = photoUrl;
     this.Status   = status;
 }
Ejemplo n.º 3
0
 public CoverVideo(ArticleStatus status, CoverViewVideoType coverView, string videoId) : base("video")
 {
     this.coverView = coverView;
     this.videoId   = videoId;
     this.Status    = status;
 }