m
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Net.Mime;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Net.Mail
|
||||
{
|
||||
/// <summary>Represents the format to view an email message.</summary>
|
||||
// Token: 0x020002AE RID: 686
|
||||
[Token(Token = "0x20002AE")]
|
||||
public class AlternateView : AttachmentBase
|
||||
{
|
||||
/// <summary>Initializes a new instance of <see cref="T:System.Net.Mail.AlternateView" /> with the specified <see cref="T:System.IO.Stream" /> and <see cref="T:System.Net.Mime.ContentType" />.</summary>
|
||||
/// <param name="contentStream">A stream that contains the content for this attachment.</param>
|
||||
/// <param name="contentType">The type of the content.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="contentStream" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.FormatException">
|
||||
/// <paramref name="contentType" /> is not a valid value.</exception>
|
||||
// Token: 0x06001212 RID: 4626 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001212")]
|
||||
[Address(RVA = "0x8A0160", Offset = "0x89F160", VA = "0x1808A0160")]
|
||||
public AlternateView(Stream contentStream, ContentType contentType)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the set of embedded resources referred to by this attachment.</summary>
|
||||
/// <returns>A <see cref="T:System.Net.Mail.LinkedResourceCollection" /> object that stores the collection of linked resources to be sent as part of an email message.</returns>
|
||||
// Token: 0x170003AB RID: 939
|
||||
// (get) Token: 0x06001213 RID: 4627 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170003AB")]
|
||||
public LinkedResourceCollection LinkedResources
|
||||
{
|
||||
[Token(Token = "0x6001213")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates an <see cref="T:System.Net.Mail.AlternateView" /> of an email message using the content specified in a <see cref="T:System.String" />, the specified text encoding, and MIME media type of the content.</summary>
|
||||
/// <param name="content">A <see cref="T:System.String" /> that contains the content for this attachment.</param>
|
||||
/// <param name="contentEncoding">An <see cref="T:System.Text.Encoding" />. This value can be <see langword="null." /></param>
|
||||
/// <param name="mediaType">The MIME media type of the content.</param>
|
||||
/// <returns>An <see cref="T:System.Net.Mail.AlternateView" /> object that represents an alternate view of an email message.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="content" /> is null.</exception>
|
||||
// Token: 0x06001214 RID: 4628 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001214")]
|
||||
[Address(RVA = "0x89FCD0", Offset = "0x89ECD0", VA = "0x18089FCD0")]
|
||||
public static AlternateView CreateAlternateViewFromString(string content, Encoding contentEncoding, string mediaType)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Net.Mail.AlternateView" /> and optionally releases the managed resources.</summary>
|
||||
/// <param name="disposing">
|
||||
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
||||
// Token: 0x06001215 RID: 4629 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6001215")]
|
||||
[Address(RVA = "0x89FFA0", Offset = "0x89EFA0", VA = "0x18089FFA0", Slot = "5")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000AC1 RID: 2753
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000AC1")]
|
||||
private LinkedResourceCollection linkedResources;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user