218 lines
12 KiB
C#
218 lines
12 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Collections.Specialized
|
|
{
|
|
/// <summary>Represents a collection of associated <see cref="T:System.String" /> keys and <see cref="T:System.String" /> values that can be accessed either with the key or with the index.</summary>
|
|
// Token: 0x02000339 RID: 825
|
|
[Token(Token = "0x2000339")]
|
|
[Serializable]
|
|
public class NameValueCollection : NameObjectCollectionBase
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> class that is empty, has the default initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer.</summary>
|
|
// Token: 0x0600157B RID: 5499 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600157B")]
|
|
[Address(RVA = "0xBA1D80", Offset = "0xBA0D80", VA = "0x180BA1D80")]
|
|
public NameValueCollection()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> class that is empty, has the specified initial capacity, and uses the specified <see cref="T:System.Collections.IEqualityComparer" /> object.</summary>
|
|
/// <param name="capacity">The initial number of entries that the <see cref="T:System.Collections.Specialized.NameValueCollection" /> object can contain.</param>
|
|
/// <param name="equalityComparer">The <see cref="T:System.Collections.IEqualityComparer" /> object to use to determine whether two keys are equal and to generate hash codes for the keys in the collection.</param>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="capacity" /> is less than zero.</exception>
|
|
// Token: 0x0600157C RID: 5500 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600157C")]
|
|
[Address(RVA = "0xBA1D00", Offset = "0xBA0D00", VA = "0x180BA1D00")]
|
|
public NameValueCollection(int capacity, IEqualityComparer equalityComparer)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600157D RID: 5501 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600157D")]
|
|
[Address(RVA = "0xBA1E30", Offset = "0xBA0E30", VA = "0x180BA1E30")]
|
|
internal NameValueCollection(DBNull dummy)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> class that is serializable and uses the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" />.</summary>
|
|
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that contains the information required to serialize the new <see cref="T:System.Collections.Specialized.NameValueCollection" /> instance.</param>
|
|
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains the source and destination of the serialized stream associated with the new <see cref="T:System.Collections.Specialized.NameValueCollection" /> instance.</param>
|
|
// Token: 0x0600157E RID: 5502 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600157E")]
|
|
[Address(RVA = "0xBA1C90", Offset = "0xBA0C90", VA = "0x180BA1C90")]
|
|
protected NameValueCollection(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Resets the cached arrays of the collection to <see langword="null" />.</summary>
|
|
// Token: 0x0600157F RID: 5503 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600157F")]
|
|
[Address(RVA = "0xBA1AE0", Offset = "0xBA0AE0", VA = "0x180BA1AE0")]
|
|
protected void InvalidateCachedArrays()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001580 RID: 5504 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001580")]
|
|
[Address(RVA = "0xBA1500", Offset = "0xBA0500", VA = "0x180BA1500")]
|
|
private static string GetAsOneString(ArrayList list)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001581 RID: 5505 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001581")]
|
|
[Address(RVA = "0xBA16E0", Offset = "0xBA06E0", VA = "0x180BA16E0")]
|
|
private static string[] GetAsStringArray(ArrayList list)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Adds an entry with the specified name and value to the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
|
|
/// <param name="name">The <see cref="T:System.String" /> key of the entry to add. The key can be <see langword="null" />.</param>
|
|
/// <param name="value">The <see cref="T:System.String" /> value of the entry to add. The value can be <see langword="null" />.</param>
|
|
/// <exception cref="T:System.NotSupportedException">The collection is read-only.</exception>
|
|
// Token: 0x06001582 RID: 5506 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001582")]
|
|
[Address(RVA = "0xBA1380", Offset = "0xBA0380", VA = "0x180BA1380", Slot = "15")]
|
|
public virtual void Add(string name, string value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the values associated with the specified key from the <see cref="T:System.Collections.Specialized.NameValueCollection" /> combined into one comma-separated list.</summary>
|
|
/// <param name="name">The <see cref="T:System.String" /> key of the entry that contains the values to get. The key can be <see langword="null" />.</param>
|
|
/// <returns>A <see cref="T:System.String" /> that contains a comma-separated list of the values associated with the specified key from the <see cref="T:System.Collections.Specialized.NameValueCollection" />, if found; otherwise, <see langword="null" />.</returns>
|
|
// Token: 0x06001583 RID: 5507 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001583")]
|
|
[Address(RVA = "0xBA18D0", Offset = "0xBA08D0", VA = "0x180BA18D0", Slot = "16")]
|
|
public virtual string Get(string name)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the values associated with the specified key from the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
|
|
/// <param name="name">The <see cref="T:System.String" /> key of the entry that contains the values to get. The key can be <see langword="null" />.</param>
|
|
/// <returns>A <see cref="T:System.String" /> array that contains the values associated with the specified key from the <see cref="T:System.Collections.Specialized.NameValueCollection" />, if found; otherwise, <see langword="null" />.</returns>
|
|
// Token: 0x06001584 RID: 5508 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001584")]
|
|
[Address(RVA = "0xBA17A0", Offset = "0xBA07A0", VA = "0x180BA17A0", Slot = "17")]
|
|
public virtual string[] GetValues(string name)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Sets the value of an entry in the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
|
|
/// <param name="name">The <see cref="T:System.String" /> key of the entry to add the new value to. The key can be <see langword="null" />.</param>
|
|
/// <param name="value">The <see cref="T:System.Object" /> that represents the new value to add to the specified entry. The value can be <see langword="null" />.</param>
|
|
/// <exception cref="T:System.NotSupportedException">The collection is read-only.</exception>
|
|
// Token: 0x06001585 RID: 5509 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001585")]
|
|
[Address(RVA = "0xBA1B10", Offset = "0xBA0B10", VA = "0x180BA1B10", Slot = "18")]
|
|
public virtual void Set(string name, string value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Removes the entries with the specified key from the <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> instance.</summary>
|
|
/// <param name="name">The <see cref="T:System.String" /> key of the entry to remove. The key can be <see langword="null" />.</param>
|
|
/// <exception cref="T:System.NotSupportedException">The collection is read-only.</exception>
|
|
// Token: 0x06001586 RID: 5510 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001586")]
|
|
[Address(RVA = "0xBA1AF0", Offset = "0xBA0AF0", VA = "0x180BA1AF0", Slot = "19")]
|
|
public virtual void Remove(string name)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the entry with the specified key in the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
|
|
/// <param name="name">The <see cref="T:System.String" /> key of the entry to locate. The key can be <see langword="null" />.</param>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the comma-separated list of values associated with the specified key, if found; otherwise, <see langword="null" />.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">The collection is read-only and the operation attempts to modify the collection.</exception>
|
|
// Token: 0x1700046B RID: 1131
|
|
[Token(Token = "0x1700046B")]
|
|
public string this[string name]
|
|
{
|
|
[Token(Token = "0x6001587")]
|
|
[Address(RVA = "0xBA1FA0", Offset = "0xBA0FA0", VA = "0x180BA1FA0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001588")]
|
|
[Address(RVA = "0xBA1FC0", Offset = "0xBA0FC0", VA = "0x180BA1FC0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the values at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> combined into one comma-separated list.</summary>
|
|
/// <param name="index">The zero-based index of the entry that contains the values to get from the collection.</param>
|
|
/// <returns>A <see cref="T:System.String" /> that contains a comma-separated list of the values at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" />, if found; otherwise, <see langword="null" />.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> is outside the valid range of indexes for the collection.</exception>
|
|
// Token: 0x06001589 RID: 5513 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001589")]
|
|
[Address(RVA = "0xBA1980", Offset = "0xBA0980", VA = "0x180BA1980", Slot = "20")]
|
|
public virtual string Get(int index)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the key at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
|
|
/// <param name="index">The zero-based index of the key to get from the collection.</param>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the key at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" />, if found; otherwise, <see langword="null" />.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> is outside the valid range of indexes for the collection.</exception>
|
|
// Token: 0x0600158A RID: 5514 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600158A")]
|
|
[Address(RVA = "0xBA1790", Offset = "0xBA0790", VA = "0x180BA1790", Slot = "21")]
|
|
public virtual string GetKey(int index)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the entry at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
|
|
/// <param name="index">The zero-based index of the entry to locate in the collection.</param>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the comma-separated list of values at the specified index of the collection.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> is outside the valid range of indexes for the collection.</exception>
|
|
// Token: 0x1700046C RID: 1132
|
|
[Token(Token = "0x1700046C")]
|
|
public string this[int index]
|
|
{
|
|
[Token(Token = "0x600158B")]
|
|
[Address(RVA = "0x4B4070", Offset = "0x4B3070", VA = "0x1804B4070")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets all the keys in the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> array that contains all the keys of the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</returns>
|
|
// Token: 0x1700046D RID: 1133
|
|
// (get) Token: 0x0600158C RID: 5516 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700046D")]
|
|
public virtual string[] AllKeys
|
|
{
|
|
[Token(Token = "0x600158C")]
|
|
[Address(RVA = "0xBA1E90", Offset = "0xBA0E90", VA = "0x180BA1E90", Slot = "22")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000E2A RID: 3626
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4000E2A")]
|
|
private string[] _all;
|
|
|
|
// Token: 0x04000E2B RID: 3627
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4000E2B")]
|
|
private string[] _allKeys;
|
|
}
|
|
}
|