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; }
public IContentDetail constructor(IContentDetail data, string title) { return this; }
public UArtist(IContentDetail data, string title) { }
public IContentDetail constructor(IContentDetail data, string title) { throw new NotImplementedException(); }