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: 0x020002C8 RID: 712
|
|
[Token(Token = "0x20002C8")]
|
|
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: 0x060012C9 RID: 4809 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012C9")]
|
|
[Address(RVA = "0x2227580", Offset = "0x2226380", VA = "0x182227580")]
|
|
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: 0x170003D4 RID: 980
|
|
// (get) Token: 0x060012CA RID: 4810 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170003D4")]
|
|
public StringDictionary Parameters
|
|
{
|
|
[Token(Token = "0x60012CA")]
|
|
[Address(RVA = "0x22275D0", Offset = "0x22263D0", VA = "0x1822275D0")]
|
|
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: 0x170003D5 RID: 981
|
|
// (set) Token: 0x060012CB RID: 4811 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x170003D5")]
|
|
public string FileName
|
|
{
|
|
[Token(Token = "0x60012CB")]
|
|
[Address(RVA = "0x2227670", Offset = "0x2226470", VA = "0x182227670")]
|
|
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: 0x060012CC RID: 4812 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60012CC")]
|
|
[Address(RVA = "0x2227320", Offset = "0x2226120", VA = "0x182227320", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060012CD RID: 4813 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60012CD")]
|
|
[Address(RVA = "0x2227000", Offset = "0x2225E00", VA = "0x182227000")]
|
|
internal string Encode(bool allowUnicode)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060012CE RID: 4814 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60012CE")]
|
|
[Address(RVA = "0x2226E00", Offset = "0x2225C00", VA = "0x182226E00")]
|
|
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: 0x060012CF RID: 4815 RVA: 0x000088F8 File Offset: 0x00006AF8
|
|
[Token(Token = "0x60012CF")]
|
|
[Address(RVA = "0x2227260", Offset = "0x2226060", VA = "0x182227260", 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: 0x060012D0 RID: 4816 RVA: 0x00008910 File Offset: 0x00006B10
|
|
[Token(Token = "0x60012D0")]
|
|
[Address(RVA = "0x22272D0", Offset = "0x22260D0", VA = "0x1822272D0", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x04000B2E RID: 2862
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000B2E")]
|
|
private string dispositionType;
|
|
|
|
// Token: 0x04000B2F RID: 2863
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000B2F")]
|
|
private TrackingValidationObjectDictionary parameters;
|
|
|
|
// Token: 0x04000B30 RID: 2864
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000B30")]
|
|
private bool isChanged;
|
|
|
|
// Token: 0x04000B31 RID: 2865
|
|
[FieldOffset(Offset = "0x21")]
|
|
[Token(Token = "0x4000B31")]
|
|
private bool isPersisted;
|
|
|
|
// Token: 0x04000B32 RID: 2866
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000B32")]
|
|
private string disposition;
|
|
|
|
// Token: 0x04000B33 RID: 2867
|
|
[Token(Token = "0x4000B33")]
|
|
private static readonly TrackingValidationObjectDictionary.ValidateAndParseValue dateParser;
|
|
|
|
// Token: 0x04000B34 RID: 2868
|
|
[Token(Token = "0x4000B34")]
|
|
private static readonly TrackingValidationObjectDictionary.ValidateAndParseValue longParser;
|
|
|
|
// Token: 0x04000B35 RID: 2869
|
|
[Token(Token = "0x4000B35")]
|
|
private static readonly IDictionary<string, TrackingValidationObjectDictionary.ValidateAndParseValue> validators;
|
|
}
|
|
}
|