Example #1
0
 public Recipe(InputItem input1, InputItem input2, InputItem input3, InputItem input4, OutputItem output)
 {
     FirstInput  = input1;
     SecondInput = input2;
     ThirdInput  = input3;
     FourthInput = input4;
     Output      = output;
 }
Example #2
0
 public static int CompareValueDesc(InputItem value1, InputItem value2)
 {
     return(value2.Value.CompareTo(value1.Value));
 }
Example #3
0
 public static int CompareName(InputItem value1, InputItem value2)
 {
     return(value1.Name.CompareTo(value2.Name));
 }