private static void Add(StringBuilder builder, SubFlow subFlow, int rowNumber) { builder.AppendLine("<div class=\"subFlow" + ((rowNumber%2 == 0) ? "" : " odd") + "\">"); builder.AppendLine("<div class=\"name\">"+subFlow.Name+"</div>"); int i = 1; foreach (SubFlowStep step in subFlow.FlowSteps) { builder.AppendLine("<div class=\"step\">"); builder.AppendLine("<div class=\"stepName\">" + step.Label + "</div>"); builder.AppendLine("<div class=\"images\">"); AddSnapShots(builder, step); builder.AppendLine("</div>"); builder.AppendLine("</div>"); if (i++ != subFlow.FlowSteps.Count) AddTimeStamp(builder, step); } builder.AppendLine("</div>"); }
public void SetUp() { subFlow = new SubFlow("subFlow", "flow", "archiveLocation"); }