

Nextrek
@ 48
Nextrek / WindowsPhone / NotizieTL / NotizieTL / Articolo.cs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace NotizieTL { public class Articolo { String titolo; String link; String testo; String testoCompleto; String data; String icona; String nota; String colore; public String Titolo { get { return titolo; } set {titolo = value;} } public String Link { get { return link; } set { link = value; } } public String Testo { get { return testo; } set { testo = value; } } public String TestoFull { get { return testoCompleto; } set { testoCompleto = value; } } public String DataPub { get { return data; } set { data = value; } } public String Icona { get { return icona; } set { icona = value; } } public String Nota { get { return nota; } set { nota = value; } } public String Colore { get { return colore; } set { colore = value; } } public Articolo() { } public Articolo(String titolo, String link, String testo, String testoFull, String dataPub, String nota, String icona, String colore) { this.Titolo = titolo; this.Link = link; this.Testo = testo; this.TestoFull = testoFull; this.DataPub = dataPub; this.Nota = nota; this.Icona = icona; this.Colore = colore; } //public Articolo(String titolo, String link, String testo, String dataPub, String icona) //{ // this.Titolo = titolo; // this.Link = link; // this.Testo = testo; // this.DataPub = dataPub; // this.Icona = icona; //} } } |