Exemplo n.º 1
0
        public string GetOutputLine()
        {
            //build and return full output line string using the data members above (for Graig's file)
            StringBuilder output = new StringBuilder(FileSize + "," + FileDateTime.ToString("MMM d yyyy HH:mm") + "," + ItemName);

            output.Append((HasRev) ? ("," + ItemRev) : (","));
            output.Append((HasSht) ? ("," + ItemSht) : (","));
            output.Append(("," + Server));
            output.Append("," + UncRaw + "," + UncPdf);

            return(output.ToString());
        }
Exemplo n.º 2
0
 public override string ToString()
 {
     return(FileDateTime.ToString("yyyy-MM-dd hh:mm:ss tt"));
 }