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