Beispiel #1
0
 public void AddRange(LIST <T> otherlist)
 {
     Items.AddRange(otherlist);
 }
Beispiel #2
0
 /// <summary>
 /// Creates a set expression with an initial list of terms specified by <paramref name="terms"/>
 /// </summary>
 /// <param name="terms">An initial set of terms that this SXPR contains</param>
 public SXPR(IEnumerable <SXCM <T> > terms)
     : base()
 {
     Terms = new LIST <SXCM <T> >(terms);
 }
Beispiel #3
0
 /// <summary>
 /// Creates a new instance of the set Expression
 /// </summary>
 public SXPR() : base()
 {
     Terms = new LIST <SXCM <T> >();
 }
Beispiel #4
0
 /// <summary>
 /// Creates a set expression with an initial list of terms specified by <paramref name="terms"/>
 /// </summary>
 /// <param name="terms">An initial set of terms that this SXPR contains</param>
 public SXPR(params SXCM <T>[] terms)
     : base()
 {
     Terms = new LIST <SXCM <T> >(terms);
 }
Beispiel #5
0
 /// <summary>
 /// Creates a new instance of SLIST with the <paramref name="origin"/>, <paramref name="scale"/>
 /// and <paramref name="digits"/>
 /// </summary>
 public SLIST(T origin, IQuantity scale, IEnumerable <INT> items) : this(origin, scale)
 {
     this.m_digits = new LIST <INT>(items);
 }
Beispiel #6
0
 /// <summary>
 /// Creates a new instance of the CDGroup class using the specified reference to the LIST of <paramref name="qualifier"/>
 /// </summary>
 /// <param name="qualifier">A reference to the list of qualifiers to use</param>
 public CDGroup(LIST <CR <String> > qualifier)
 {
     this.Qualifier = qualifier;
 }