public SubTypeItem(string title, string description, string url, GadgetSubType type) { this.title = title; this.description = description; this.thumbnail = new BitmapImage(new Uri(url, UriKind.RelativeOrAbsolute)); this.type = type; }
public GadgetItem(string id, string title, string description, DateTime createDate, string thumbnailUri, GadgetType type, GadgetSubType subType, string fullName, string creatorName, string creatorWebSite, string creatorLogo) { this.id = id; this.title = title; this.description = description; this.createDate = createDate; this.thumbnail = thumbnailUri; this.type = type; this.subType = subType; this.fullName = fullName; this.creatorName = creatorName; this.creatorWebSite = creatorWebSite; this.creatorLogo = creatorLogo; }