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