public void GetResultText() { Console.WriteLine("Executing BoolStep:"); Console.WriteLine($"BoolStep Id: {Id.ToString()}"); Console.WriteLine($"BoolStep Executing Input 1:"); InputOne.GetResultText(); Console.WriteLine($"BoolStep Executing Input 2:"); InputTwo.GetResultText(); Console.WriteLine($"Combining Results with {Boolean}"); }
public string GetResultText() { var item = string.Empty; item += "Executing BoolStep:" + Environment.NewLine; item += $"BoolStep Id: {Id.ToString()}" + Environment.NewLine; item += $"BoolStep Executing Input 1:" + Environment.NewLine; item += InputOne.GetResultText() + Environment.NewLine; item += $"BoolStep Executing Input 2:" + Environment.NewLine; item += InputTwo.GetResultText() + Environment.NewLine; item += $"Combining Results with {Boolean}" + Environment.NewLine; return(item); }