Esempio n. 1
0
        public static string GetSinglePlanBbCodeExport(AttackPlan plan)
        {
            var exporter = new AttackPlanExporter(plan.Attacks);

            exporter.AddHeader(plan.Target.BbCode(), plan.ArrivalTime, plan.Comments);
            return(exporter.GetBbCodeExport(true));
        }
Esempio n. 2
0
        public static string GetMultiPlanBbCodeExport(IEnumerable <AttackPlanFrom> attacks)
        {
            var exporter = new AttackPlanExporter(attacks);

            exporter.AddMultiHeader(true);
            return(exporter.GetBbCodeExport(false));
        }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 public static string GetMultiPlanTextExport(IEnumerable<AttackPlanFrom> attacks)
 {
     var exporter = new AttackPlanExporter(attacks);
     exporter.AddMultiHeader(false);
     return exporter.GetTextExport(false);
 }