コード例 #1
0
 public int ElementCount(bool optimized)
 {
     if (optimized)
     {
         return(1 + Value1.Optimize().ElementCount() + Value2.Optimize().ElementCount());
     }
     else
     {
         return(1 + Value1.ElementCount() + Value2.ElementCount());
     }
 }
コード例 #2
0
 public string ToWorkshop(OutputLanguage language)
 {
     return(Value1.Optimize().ToWorkshop(language) + " " + CompareOperator.ToWorkshop(language) + " " + Value2.Optimize().ToWorkshop(language));
 }