コード例 #1
0
        internal string DebugDescription(string indent)
        {
            StringBuilder sb = new StringBuilder(200);
            string        i2 = indent + "    ";

            sb.Append(indent + "FileAttributesData\n");
            sb.Append(i2 + "FileAttributes: " + FileAttributes + "\n");
            sb.Append(i2 + "  CreationTime: " + Debug.FormatUtcDate(UtcCreationTime) + "\n");
            sb.Append(i2 + "LastAccessTime: " + Debug.FormatUtcDate(UtcLastAccessTime) + "\n");
            sb.Append(i2 + " LastWriteTime: " + Debug.FormatUtcDate(UtcLastWriteTime) + "\n");
            sb.Append(i2 + "      FileSize: " + FileSize.ToString("n0", NumberFormatInfo.InvariantInfo) + "\n");

            return(sb.ToString());
        }