3 instantiations of AlternateView
System.Net.Mail (3)
System\Net\Mail\AlternateView.cs (3)
65
AlternateView a = new
AlternateView
();
72
AlternateView a = new
AlternateView
();
79
AlternateView a = new
AlternateView
();
18 references to AlternateView
netstandard (1)
netstandard.cs (1)
1164
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.
AlternateView
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
649
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Mail.
AlternateView
))]
System.Net.Mail (16)
System\Net\Mail\AlternateView.cs (6)
63
public static
AlternateView
CreateAlternateViewFromString(string content)
65
AlternateView
a = new AlternateView();
70
public static
AlternateView
CreateAlternateViewFromString(string content, Encoding? contentEncoding, string? mediaType)
72
AlternateView
a = new AlternateView();
77
public static
AlternateView
CreateAlternateViewFromString(string content, ContentType? contentType)
79
AlternateView
a = new AlternateView();
System\Net\Mail\AlternateViewCollection.cs (4)
8
public sealed class AlternateViewCollection : Collection<
AlternateView
>, IDisposable
22
foreach (
AlternateView
view in this)
45
protected override void SetItem(int index,
AlternateView
item)
52
protected override void InsertItem(int index,
AlternateView
item)
System\Net\Mail\MailMessage.cs (6)
27
private
AlternateView
? _bodyView;
326
_bodyView =
AlternateView
.CreateAlternateViewFromString(_body, _bodyEncoding, (_isBodyHtml ? MediaTypeNames.Text.Html : null));
336
_bodyView =
AlternateView
.CreateAlternateViewFromString(_body, _bodyEncoding, (_isBodyHtml ? MediaTypeNames.Text.Html : null));
340
_bodyView =
AlternateView
.CreateAlternateViewFromString(string.Empty);
365
_bodyView =
AlternateView
.CreateAlternateViewFromString(_body, _bodyEncoding, null);
369
foreach (
AlternateView
view in AlternateViews)