Exemplo n.º 1
0
 public ContentDetail(IContentDetail data, string title)
 {
     this.UmbracoID = data.UmbracoID;
     this.ContentType = data.ContentType;
     this.MetaKeys = data.MetaKeys;
     this.MetaDescription = data.MetaDescription;
     this.GenreIds = data.GenreIds;
     this.Author = data.Author;
     if (title == null) {
         this.Title = data.Title;
     } else if(data.Title == null)
     {
         throw new Exception("Cannot set property title of content detail object");
     } else
     {
         this.Title = title;
     }
     this.OrderDate = data.OrderDate;
     this.DisplayDate = data.DisplayDate;
     this.ShortText = data.ShortText;
     this.DetailText = data.DetailText;
     this.Link = data.Link;
     this.ShowReadMore = data.ShowReadMore;
     this.SortOrder = data.SortOrder;
     this.Rating = data.Rating;
     this.Thumbnail = data.Thumbnail;
 }
Exemplo n.º 2
0
 public IContentDetail constructor(IContentDetail data, string title)
 {
     return this;
 }
Exemplo n.º 3
0
 public UArtist(IContentDetail data, string title)
 {
 }
Exemplo n.º 4
0
 public IContentDetail constructor(IContentDetail data, string title)
 {
     throw new NotImplementedException();
 }