System.Net.Mail.Tests.AttachmentTest.ContentStream C# (CSharp) Méthode

ContentStream() private méthode

private ContentStream ( ) : void
Résultat void
        public void ContentStream()
        {
            Attachment attach = Attachment.CreateAttachmentFromString("test", "attachment-name");
            Assert.NotNull(attach.ContentStream);
            Assert.Equal(4, attach.ContentStream.Length);
        }