Exemple #1
0
 /// <summary>
 /// Constructs a ParentheticSetExpr given ths supplied parameters.
 /// </summary>
 ///
 /// <param name="component1">a list of SetComponents</param>
 /// <param name="component2">a list of SetComponents</param>
 public ParentheticSetExpr(SetComponent <T> component1,
                           SetComponent <T> component2)
 {
     this.components = new List <SetComponent <T> >();
     ILOG.J2CsMapping.Collections.Generics.Collections.Add(this.components, component1);
     ILOG.J2CsMapping.Collections.Generics.Collections.Add(this.components, component2);
 }
Exemple #2
0
 private bool Equals(SetComponent <T> that)
 {
     return(new EqualsBuilder()
            .Append(this.value_ren, that.value_ren)
            .Append(this.operat, that.operat)
            .IsEquals());
 }