Subversion Repository Public Repository

Nextrek

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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpenLavoro
{
    public class ElementList //importante dichiarare "public" una classe che deve "fare" il binding altrimenti non funziona 
    {
        public String id { get; set; }
        public String name { get; set; }
        public String type { get; set; }
        public List<ElementList> listCat { get; set; }
        public List<ElementList> listArt { get; set; }
        public String link { get; set; }
        public String nElem { get; set; }
        
        public String Id { get { return id; } set { id = value; } }
        public String Name { get { return name; } set { name = value; } }
        public String Type { get { return type; } set { type = value; } }
        public List<ElementList> ListCat { get { return listCat; } set { listCat = value; } }
        public List<ElementList> ListArt { get { return listArt; } set { listArt = value; } }
        public String Link { get { return link; } set { link = value; } }
        public String NElem { get { return nElem; } set { nElem = value; } }

        public ElementList() { }

        public ElementList(String id, String name, String type, List<ElementList> listCat, List<ElementList> listArt, String link, String nElem) 
        {
            this.Id = id;
            this.Name = name;
            this.Type = type;
            this.ListCat = listCat;
            this.ListArt = listArt;
            this.Link = link;
            this.NElem = nElem;
        }
    }
}

Commits for Nextrek/WindowsPhone/OpenLavoro/OpenLavoro/ElementList.cs

Diff revisions: vs.
Revision Author Commited Message
137 LTardio picture LTardio Mon 10 Nov, 2014 17:19:48 +0000