Home
last modified time | relevance | path

Searched refs:AlternateView (Results 1 – 25 of 43) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Mail/src/System/Net/Mail/
H A DAlternateView.cs12 public class AlternateView : AttachmentBase class
16 internal AlternateView() in AlternateView() method in System.Net.Mail.AlternateView
20 public AlternateView(string fileName) : in AlternateView() method in System.Net.Mail.AlternateView
24 public AlternateView(string fileName, string mediaType) : in AlternateView() method in System.Net.Mail.AlternateView
28 public AlternateView(string fileName, ContentType contentType) : in AlternateView() method in System.Net.Mail.AlternateView
32 public AlternateView(Stream contentStream) : in AlternateView() method in System.Net.Mail.AlternateView
36 public AlternateView(Stream contentStream, string mediaType) : in AlternateView() method in System.Net.Mail.AlternateView
40 public AlternateView(Stream contentStream, ContentType contentType) : in AlternateView() method in System.Net.Mail.AlternateView
76 AlternateView a = new AlternateView(); in CreateAlternateViewFromString()
83 AlternateView a = new AlternateView(); in CreateAlternateViewFromString()
[all …]
H A DAlternateViewCollection.cs10 public sealed class AlternateViewCollection : Collection<AlternateView>, IDisposable
24 foreach (AlternateView view in this) in Dispose()
53 protected override void SetItem(int index, AlternateView item) in SetItem()
69 protected override void InsertItem(int index, AlternateView item) in InsertItem()
H A DMailMessage.cs23 private AlternateView _bodyView = null;
358 …_bodyView = AlternateView.CreateAlternateViewFromString(_body, _bodyEncoding, (_isBodyHtml ? Media… in SetContent()
368 …_bodyView = AlternateView.CreateAlternateViewFromString(_body, _bodyEncoding, (_isBodyHtml ? Media… in SetContent()
372 _bodyView = AlternateView.CreateAlternateViewFromString(string.Empty); in SetContent()
397 … _bodyView = AlternateView.CreateAlternateViewFromString(_body, _bodyEncoding, null); in SetContent()
401 foreach (AlternateView view in AlternateViews) in SetContent()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/mail/
H A DAlternateView.cs8 public class AlternateView : AttachmentBase class
12 internal AlternateView() in AlternateView() method in System.Net.Mail.AlternateView
16 public AlternateView(string fileName) : in AlternateView() method in System.Net.Mail.AlternateView
20 public AlternateView(string fileName, string mediaType) : in AlternateView() method in System.Net.Mail.AlternateView
24 public AlternateView(string fileName, ContentType contentType) : in AlternateView() method in System.Net.Mail.AlternateView
28 public AlternateView(Stream contentStream) : in AlternateView() method in System.Net.Mail.AlternateView
32 public AlternateView(Stream contentStream, string mediaType) : in AlternateView() method in System.Net.Mail.AlternateView
36 public AlternateView(Stream contentStream, ContentType contentType) : in AlternateView() method in System.Net.Mail.AlternateView
71 AlternateView a = new AlternateView(); in CreateAlternateViewFromString()
77 AlternateView a = new AlternateView(); in CreateAlternateViewFromString()
[all …]
H A DAlternateViewCollection.cs6 public sealed class AlternateViewCollection : Collection<AlternateView>, IDisposable
19 foreach (AlternateView view in this) in Dispose()
44 protected override void SetItem(int index, AlternateView item){ in SetItem()
57 protected override void InsertItem(int index, AlternateView item){ in InsertItem()
H A DMailMessage.cs28 AlternateView bodyView = null;
299 …bodyView = AlternateView.CreateAlternateViewFromString(body, bodyEncoding, (isBodyHtml?MediaTypeNa… in SetContent()
307 …bodyView = AlternateView.CreateAlternateViewFromString(body, bodyEncoding, (isBodyHtml?MediaTypeNa… in SetContent()
310 bodyView = AlternateView.CreateAlternateViewFromString(string.Empty); in SetContent()
333 … bodyView = AlternateView.CreateAlternateViewFromString(body, bodyEncoding, null); in SetContent()
337 foreach (AlternateView view in AlternateViews) in SetContent()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net.Mail/
H A DAlternateView.cs36 public class AlternateView : AttachmentBase class
46 public AlternateView (string fileName) : base (fileName) in AlternateView() method in System.Net.Mail.AlternateView
52 public AlternateView (string fileName, ContentType contentType) : base (fileName, contentType) in AlternateView() method in System.Net.Mail.AlternateView
58 public AlternateView (string fileName, string mediaType) : base (fileName, mediaType) in AlternateView() method in System.Net.Mail.AlternateView
64 public AlternateView (Stream contentStream) : base (contentStream) in AlternateView() method in System.Net.Mail.AlternateView
68 public AlternateView (Stream contentStream, string mediaType) : base (contentStream, mediaType) in AlternateView() method in System.Net.Mail.AlternateView
93 public static AlternateView CreateAlternateViewFromString (string content) in CreateAlternateViewFromString()
98 AlternateView av = new AlternateView (ms); in CreateAlternateViewFromString()
103 …public static AlternateView CreateAlternateViewFromString (string content, ContentType contentType) in CreateAlternateViewFromString()
109 AlternateView av = new AlternateView (ms, contentType); in CreateAlternateViewFromString()
[all …]
H A DAlternateViewCollection.cs35 public sealed class AlternateViewCollection : Collection<AlternateView>, IDisposable
64 protected override void InsertItem (int index, AlternateView item) in InsertItem()
74 protected override void SetItem (int index, AlternateView item) in SetItem()
H A DSmtpClient.cs329 private string EncodeBody (AlternateView av) in EncodeBody()
875 private void SendBodylessSingleAlternate (AlternateView av) { in SendBodylessSingleAlternate()
943 AlternateView body = null; in SendBodyWithAlternateViews()
945 …body = AlternateView.CreateAlternateViewFromString (message.Body, message.BodyEncoding, message.Is… in SendBodyWithAlternateViews()
952 foreach (AlternateView av in alternateViews) { in SendBodyWithAlternateViews()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Mail/tests/Functional/
H A DAlternateViewTest.cs25 Assert.Throws<ArgumentNullException>(() => new AlternateView((string)null)); in ArgumentNullExceptionTest()
31 Assert.Throws<ArgumentNullException>(() => new AlternateView((Stream)null)); in ArgumentNullException2Test()
37AlternateView av = AlternateView.CreateAlternateViewFromString("test", new ContentType("text/plain… in ContentTypeTest()
45 AlternateView av = new AlternateView(new MemoryStream()); in ContentType2Test()
53AlternateView av = AlternateView.CreateAlternateViewFromString("test", new ContentType("text/plain… in ContentStreamTest()
61AlternateView av = AlternateView.CreateAlternateViewFromString("test", new ContentType("text/plain… in TransferEncodingTest()
65 Assert.Equal(TransferEncoding.Base64, new AlternateView(ms).TransferEncoding); in TransferEncodingTest()
66 … Assert.Equal(TransferEncoding.Base64, new AlternateView(ms, "text/plain").TransferEncoding); in TransferEncodingTest()
72AlternateView av = AlternateView.CreateAlternateViewFromString("<p>test message</p>", null, "text/… in CreateAlternateViewFromStringEncodingNull()
H A DAlternateViewCollectionTest.cs20 AlternateView av;
25 av = AlternateView.CreateAlternateViewFromString("test", new ContentType("text/plain")); in AlternateViewCollectionTest()
37AlternateView av1 = AlternateView.CreateAlternateViewFromString("test", new ContentType("text/plai… in TestDispose()
H A DLinkedResourceCollectionTest.cs24 …lrc = AlternateView.CreateAlternateViewFromString("test", new ContentType("text/plain")).LinkedRes… in LinkedResourceCollectionTest()
H A DMailMessageTest.cs29 …messageWithSubjectAndBody.AlternateViews.Add(AlternateView.CreateAlternateViewFromString("<html><b… in MailMessageTest()
57 AlternateView av = messageWithSubjectAndBody.AlternateViews[0]; in AlternateViewTest()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net.Mail/
H A DAlternateViewTest.cs20 AlternateView av;
25 av = AlternateView.CreateAlternateViewFromString ("test", new ContentType ("text/plain")); in GetReady()
33 new AlternateView (s); in ArgumentNullException()
41 new AlternateView (s); in ArgumentNullException2()
54 AlternateView av = new AlternateView (new MemoryStream ()); in ContentType2()
72 Assert.AreEqual (TransferEncoding.Base64, new AlternateView (ms).TransferEncoding, "#2"); in TransferEncodingTest()
73 …Assert.AreEqual (TransferEncoding.Base64, new AlternateView (ms, "text/plain").TransferEncoding, "… in TransferEncodingTest()
79 AlternateView.CreateAlternateViewFromString ("<p>test message</p>", null, "text/html"); in CreateAlternateViewFromStringEncodingNull()
H A DAlternateViewCollectionTest.cs21 AlternateView av;
27 av = AlternateView.CreateAlternateViewFromString ("test", new ContentType ("text/plain")); in GetReady()
H A DLinkedResourceCollectionTest.cs26 …lrc = AlternateView.CreateAlternateViewFromString ("test", new ContentType ("text/plain")).LinkedR… in GetReady()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Mail/ref/
H A DSystem.Net.Mail.cs10 public partial class AlternateView : System.Net.Mail.AttachmentBase class
12 public AlternateView(System.IO.Stream contentStream) : base (default(string)) { } in AlternateView() method in System.Net.Mail.AlternateView
13 …public AlternateView(System.IO.Stream contentStream, System.Net.Mime.ContentType contentType) : ba… in AlternateView() method in System.Net.Mail.AlternateView
14 …public AlternateView(System.IO.Stream contentStream, string mediaType) : base (default(string)) { } in AlternateView() method in System.Net.Mail.AlternateView
15 public AlternateView(string fileName) : base (default(string)) { } in AlternateView() method in System.Net.Mail.AlternateView
16 …public AlternateView(string fileName, System.Net.Mime.ContentType contentType) : base (default(str… in AlternateView() method in System.Net.Mail.AlternateView
17 public AlternateView(string fileName, string mediaType) : base (default(string)) { } in AlternateView() method in System.Net.Mail.AlternateView
20 …public static System.Net.Mail.AlternateView CreateAlternateViewFromString(string content) { throw … in CreateAlternateViewFromString()
25 …ollection : System.Collections.ObjectModel.Collection<System.Net.Mail.AlternateView>, System.IDisp…
30 protected override void InsertItem(int index, System.Net.Mail.AlternateView item) { } in InsertItem()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/UI/WebControls/
H A DMailDefinition.cs283AlternateView view = AlternateView.CreateAlternateViewFromString(body, null, viewContentType); in CreateMailMessage()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Facades/System.Net.Mail/
H A DTypeForwarders.cs23 …y: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Mail.AlternateView))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monodroid/Facades/
H A DSystem.Net.Mail.cs17 …ly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Mail.AlternateView))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/net_4_x/Facades/
H A DSystem.Net.Mail.cs17 …ly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Mail.AlternateView))]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/Facades/
H A DSystem.Net.Mail.cs17 …ly:System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Mail.AlternateView))]
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/monotouch/
H A DSystem.cs6856 public partial class AlternateView : System.Net.Mail.AttachmentBase class
6858 public AlternateView(System.IO.Stream contentStream) : base (default(System.IO.Stream)) { } in AlternateView() method in System.Net.Mail.AlternateView
6859 …public AlternateView(System.IO.Stream contentStream, System.Net.Mime.ContentType contentType) : ba… in AlternateView() method in System.Net.Mail.AlternateView
6860 …public AlternateView(System.IO.Stream contentStream, string mediaType) : base (default(System.IO.S… in AlternateView() method in System.Net.Mail.AlternateView
6861 public AlternateView(string fileName) : base (default(System.IO.Stream)) { } in AlternateView() method in System.Net.Mail.AlternateView
6862 …public AlternateView(string fileName, System.Net.Mime.ContentType contentType) : base (default(Sys… in AlternateView() method in System.Net.Mail.AlternateView
6863 … public AlternateView(string fileName, string mediaType) : base (default(System.IO.Stream)) { } in AlternateView() method in System.Net.Mail.AlternateView
6866 …public static System.Net.Mail.AlternateView CreateAlternateViewFromString(string content) { throw … in CreateAlternateViewFromString()
6871 …ollection : System.Collections.ObjectModel.Collection<System.Net.Mail.AlternateView>, System.IDisp…
6876 protected override void InsertItem(int index, System.Net.Mail.AlternateView item) { } in InsertItem()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/api-snapshot/profiles/monotouch/
H A DSystem.cs6927 public partial class AlternateView : System.Net.Mail.AttachmentBase class
6929 public AlternateView(System.IO.Stream contentStream) : base (default(System.IO.Stream)) { } in AlternateView() method in System.Net.Mail.AlternateView
6930 …public AlternateView(System.IO.Stream contentStream, System.Net.Mime.ContentType contentType) : ba… in AlternateView() method in System.Net.Mail.AlternateView
6931 …public AlternateView(System.IO.Stream contentStream, string mediaType) : base (default(System.IO.S… in AlternateView() method in System.Net.Mail.AlternateView
6932 public AlternateView(string fileName) : base (default(System.IO.Stream)) { } in AlternateView() method in System.Net.Mail.AlternateView
6933 …public AlternateView(string fileName, System.Net.Mime.ContentType contentType) : base (default(Sys… in AlternateView() method in System.Net.Mail.AlternateView
6934 … public AlternateView(string fileName, string mediaType) : base (default(System.IO.Stream)) { } in AlternateView() method in System.Net.Mail.AlternateView
6937 …public static System.Net.Mail.AlternateView CreateAlternateViewFromString(string content) { throw … in CreateAlternateViewFromString()
6942 …ollection : System.Collections.ObjectModel.Collection<System.Net.Mail.AlternateView>, System.IDisp…
6947 protected override void InsertItem(int index, System.Net.Mail.AlternateView item) { } in InsertItem()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/binary-reference-assemblies/src/monodroid/
H A DSystem.cs6854 public partial class AlternateView : System.Net.Mail.AttachmentBase class
6856 public AlternateView(System.IO.Stream contentStream) : base (default(System.IO.Stream)) { } in AlternateView() method in System.Net.Mail.AlternateView
6857 …public AlternateView(System.IO.Stream contentStream, System.Net.Mime.ContentType contentType) : ba… in AlternateView() method in System.Net.Mail.AlternateView
6858 …public AlternateView(System.IO.Stream contentStream, string mediaType) : base (default(System.IO.S… in AlternateView() method in System.Net.Mail.AlternateView
6859 public AlternateView(string fileName) : base (default(System.IO.Stream)) { } in AlternateView() method in System.Net.Mail.AlternateView
6860 …public AlternateView(string fileName, System.Net.Mime.ContentType contentType) : base (default(Sys… in AlternateView() method in System.Net.Mail.AlternateView
6861 … public AlternateView(string fileName, string mediaType) : base (default(System.IO.Stream)) { } in AlternateView() method in System.Net.Mail.AlternateView
6864 …public static System.Net.Mail.AlternateView CreateAlternateViewFromString(string content) { throw … in CreateAlternateViewFromString()
6869 …ollection : System.Collections.ObjectModel.Collection<System.Net.Mail.AlternateView>, System.IDisp…
6874 protected override void InsertItem(int index, System.Net.Mail.AlternateView item) { } in InsertItem()
[all …]

12