public static string GetSinglePlanTextExport(AttackPlan plan) { var exporter = new AttackPlanExporter(plan.Attacks); exporter.AddHeader(plan.Target.ToString(), plan.ArrivalTime, plan.Comments); return(exporter.GetTextExport(true)); }
public static string GetMultiPlanTextExport(IEnumerable <AttackPlanFrom> attacks) { var exporter = new AttackPlanExporter(attacks); exporter.AddMultiHeader(false); return(exporter.GetTextExport(false)); }
public static string GetSinglePlanTextExport(AttackPlan plan) { var exporter = new AttackPlanExporter(plan.Attacks); exporter.AddHeader(plan.Target.ToString(), plan.ArrivalTime, plan.Comments); return exporter.GetTextExport(true); }
public static string GetMultiPlanTextExport(IEnumerable<AttackPlanFrom> attacks) { var exporter = new AttackPlanExporter(attacks); exporter.AddMultiHeader(false); return exporter.GetTextExport(false); }