コード例 #1
0
 public ElementWithValue(Element e)
 {
     Id    = IdGenerator.GenerateId();
     Name  = e.Name;
     Value = Int64.Parse(e.Value);
 }
コード例 #2
0
 public SetPair()
 {
     Id       = IdGenerator.GenerateId();
     ListPair = new List <PairElement>();
 }
コード例 #3
0
ファイル: Set.cs プロジェクト: soharle/algebra-de-conjuntos
 public Set(List <Element> list)
 {
     this.Id           = IdGenerator.GenerateId();
     this.ListElements = list;
 }
コード例 #4
0
ファイル: Set.cs プロジェクト: soharle/algebra-de-conjuntos
 public Set()
 {
     this.Id           = IdGenerator.GenerateId();
     this.ListElements = new List <Element>();
 }
コード例 #5
0
ファイル: Set.cs プロジェクト: soharle/algebra-de-conjuntos
 public Set(string name)
 {
     this.Id           = this.Id = IdGenerator.GenerateId();
     this.Name         = name;
     this.ListElements = new List <Element>();
 }
コード例 #6
0
ファイル: Set.cs プロジェクト: soharle/algebra-de-conjuntos
 public Set(string name, List <Element> elements)
 {
     this.Id           = this.Id = IdGenerator.GenerateId();
     this.Name         = name;
     this.ListElements = elements;
 }