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;
 }
Exemplo n.º 3
0
 public SetPair()
 {
     Id       = IdGenerator.GenerateId();
     ListPair = new List <PairElement>();
 }
Exemplo n.º 4
0
 public Set(List <Element> list)
 {
     this.Id           = IdGenerator.GenerateId();
     this.ListElements = list;
 }
Exemplo n.º 5
0
 public Set()
 {
     this.Id           = IdGenerator.GenerateId();
     this.ListElements = new List <Element>();
 }
Exemplo n.º 6
0
 public Set(string name)
 {
     this.Id           = this.Id = IdGenerator.GenerateId();
     this.Name         = name;
     this.ListElements = new List <Element>();
 }
Exemplo n.º 7
0
 public Set(string name, List <Element> elements)
 {
     this.Id           = this.Id = IdGenerator.GenerateId();
     this.Name         = name;
     this.ListElements = elements;
 }