136 lines
5.1 KiB
C#
136 lines
5.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.Specialized;
|
|
using System.Text;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Net.Mime
|
|
{
|
|
/// <summary>Represents a MIME protocol Content-Disposition header.</summary>
|
|
// Token: 0x020002C4 RID: 708
|
|
[Token(Token = "0x20002C4")]
|
|
public class ContentDisposition
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Mime.ContentDisposition" /> class with a <see cref="P:System.Net.Mime.ContentDisposition.DispositionType" /> of <see cref="F:System.Net.Mime.DispositionTypeNames.Attachment" />.</summary>
|
|
// Token: 0x060012B3 RID: 4787 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012B3")]
|
|
[Address(RVA = "0x8A1A40", Offset = "0x8A0A40", VA = "0x1808A1A40")]
|
|
public ContentDisposition()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the parameters included in the Content-Disposition header represented by this instance.</summary>
|
|
/// <returns>A writable <see cref="T:System.Collections.Specialized.StringDictionary" /> that contains parameter name/value pairs.</returns>
|
|
// Token: 0x170003D0 RID: 976
|
|
// (get) Token: 0x060012B4 RID: 4788 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170003D0")]
|
|
public StringDictionary Parameters
|
|
{
|
|
[Token(Token = "0x60012B4")]
|
|
[Address(RVA = "0x8A1A90", Offset = "0x8A0A90", VA = "0x1808A1A90")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the suggested file name for an email attachment.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the file name.</returns>
|
|
// Token: 0x170003D1 RID: 977
|
|
// (set) Token: 0x060012B5 RID: 4789 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x170003D1")]
|
|
public string FileName
|
|
{
|
|
[Token(Token = "0x60012B5")]
|
|
[Address(RVA = "0x8A1B30", Offset = "0x8A0B30", VA = "0x1808A1B30")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns a <see cref="T:System.String" /> representation of this instance.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the property values for this instance.</returns>
|
|
// Token: 0x060012B6 RID: 4790 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60012B6")]
|
|
[Address(RVA = "0x8A17E0", Offset = "0x8A07E0", VA = "0x1808A17E0", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060012B7 RID: 4791 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60012B7")]
|
|
[Address(RVA = "0x8A14C0", Offset = "0x8A04C0", VA = "0x1808A14C0")]
|
|
internal string Encode(bool allowUnicode)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060012B8 RID: 4792 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012B8")]
|
|
[Address(RVA = "0x8A12C0", Offset = "0x8A02C0", VA = "0x1808A12C0")]
|
|
private static void EncodeToBuffer(string value, StringBuilder builder, bool allowUnicode)
|
|
{
|
|
}
|
|
|
|
/// <summary>Determines whether the content-disposition header of the specified <see cref="T:System.Net.Mime.ContentDisposition" /> object is equal to the content-disposition header of this object.</summary>
|
|
/// <param name="rparam">The <see cref="T:System.Net.Mime.ContentDisposition" /> object to compare with this object.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the content-disposition headers are the same; otherwise <see langword="false" />.</returns>
|
|
// Token: 0x060012B9 RID: 4793 RVA: 0x000088E0 File Offset: 0x00006AE0
|
|
[Token(Token = "0x60012B9")]
|
|
[Address(RVA = "0x8A1720", Offset = "0x8A0720", VA = "0x1808A1720", Slot = "0")]
|
|
public override bool Equals(object rparam)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Determines the hash code of the specified <see cref="T:System.Net.Mime.ContentDisposition" /> object</summary>
|
|
/// <returns>An integer hash value.</returns>
|
|
// Token: 0x060012BA RID: 4794 RVA: 0x000088F8 File Offset: 0x00006AF8
|
|
[Token(Token = "0x60012BA")]
|
|
[Address(RVA = "0x8A1790", Offset = "0x8A0790", VA = "0x1808A1790", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x04000B21 RID: 2849
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000B21")]
|
|
private string dispositionType;
|
|
|
|
// Token: 0x04000B22 RID: 2850
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000B22")]
|
|
private TrackingValidationObjectDictionary parameters;
|
|
|
|
// Token: 0x04000B23 RID: 2851
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000B23")]
|
|
private bool isChanged;
|
|
|
|
// Token: 0x04000B24 RID: 2852
|
|
[FieldOffset(Offset = "0x21")]
|
|
[Token(Token = "0x4000B24")]
|
|
private bool isPersisted;
|
|
|
|
// Token: 0x04000B25 RID: 2853
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000B25")]
|
|
private string disposition;
|
|
|
|
// Token: 0x04000B26 RID: 2854
|
|
[Token(Token = "0x4000B26")]
|
|
private static readonly TrackingValidationObjectDictionary.ValidateAndParseValue dateParser;
|
|
|
|
// Token: 0x04000B27 RID: 2855
|
|
[Token(Token = "0x4000B27")]
|
|
private static readonly TrackingValidationObjectDictionary.ValidateAndParseValue longParser;
|
|
|
|
// Token: 0x04000B28 RID: 2856
|
|
[Token(Token = "0x4000B28")]
|
|
private static readonly IDictionary<string, TrackingValidationObjectDictionary.ValidateAndParseValue> validators;
|
|
}
|
|
}
|