Exemple #1
0
        public static string Console(FlightInfo item, DiffEntry entry)
        {
            string format;

            switch (entry.Name)
            {
            case "ACT ARR":
                format = FlightInfoActArrDiffFormat;
                break;

            case "ACT DEP":
                format = FlightInfoActDepDiffFormat;
                break;

            default:
                format = FlightInfoFormat;
                break;
            }

            return(string.Concat(FormattableObject.ToString(item, format, null), string.Format("\t{0}\t\t{1}\t{2}", entry.Name, entry.BaselineValue, item.Source)));
        }
Exemple #2
0
 public static string ItemFormater(Item item, DiffEntry entry)
 {
     return(string.Concat(FormattableObject.ToString(item, "${Id}\t${Name}\t${Age}", null), string.Format("\t{0}\t{1}", entry.Name, entry.BaselineValue)));
 }
Exemple #3
0
 internal void AddEntry(DiffEntry entry)
 {
     Entries.Add(entry);
 }