コード例 #1
0
        private static TextAttachment GetTextAttachment(UriDataAttachment vstsAttachment)
        {
            var sb = GetFileAsString(vstsAttachment);

            return(Attachment.CreatePlainTextAttachment(vstsAttachment.Description, sb.ToString()));
        }