public ElementWithValue(Element e)
 {
     Id    = IdGenerator.GenerateId();
     Name  = e.Name;
     Value = Int64.Parse(e.Value);
 }
Esempio n. 2
0
 public SetPair()
 {
     Id       = IdGenerator.GenerateId();
     ListPair = new List <PairElement>();
 }
Esempio n. 3
0
 public Set(List <Element> list)
 {
     this.Id           = IdGenerator.GenerateId();
     this.ListElements = list;
 }
Esempio n. 4
0
 public Set()
 {
     this.Id           = IdGenerator.GenerateId();
     this.ListElements = new List <Element>();
 }
Esempio n. 5
0
 public Set(string name)
 {
     this.Id           = this.Id = IdGenerator.GenerateId();
     this.Name         = name;
     this.ListElements = new List <Element>();
 }
Esempio n. 6
0
 public Set(string name, List <Element> elements)
 {
     this.Id           = this.Id = IdGenerator.GenerateId();
     this.Name         = name;
     this.ListElements = elements;
 }