Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }