175 lines
8.3 KiB
C#
175 lines
8.3 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Resources
|
|
{
|
|
/// <summary>Stores all the resources localized for one particular culture, ignoring all other cultures, including any fallback rules.</summary>
|
|
// Token: 0x020001FD RID: 509
|
|
[Token(Token = "0x20001FD")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ResourceSet : IDisposable, IEnumerable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Resources.ResourceSet" /> class with default properties.</summary>
|
|
// Token: 0x0600138F RID: 5007 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600138F")]
|
|
[Address(RVA = "0x295CB00", Offset = "0x295B900", VA = "0x18295CB00")]
|
|
protected ResourceSet()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001390 RID: 5008 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001390")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
internal ResourceSet(bool junk)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001391 RID: 5009 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001391")]
|
|
[Address(RVA = "0x295C2C0", Offset = "0x295B0C0", VA = "0x18295C2C0")]
|
|
private void CommonInit()
|
|
{
|
|
}
|
|
|
|
/// <summary>Releases resources (other than memory) associated with the current instance, closing internal managed objects if requested.</summary>
|
|
/// <param name="disposing">Indicates whether the objects contained in the current instance should be explicitly closed.</param>
|
|
// Token: 0x06001392 RID: 5010 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001392")]
|
|
[Address(RVA = "0x295C310", Offset = "0x295B110", VA = "0x18295C310", Slot = "6")]
|
|
protected virtual void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
/// <summary>Disposes of the resources (other than memory) used by the current instance of <see cref="T:System.Resources.ResourceSet" />.</summary>
|
|
// Token: 0x06001393 RID: 5011 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001393")]
|
|
[Address(RVA = "0x2382280", Offset = "0x2381080", VA = "0x182382280", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> that can iterate through the <see cref="T:System.Resources.ResourceSet" />.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> for this <see cref="T:System.Resources.ResourceSet" />.</returns>
|
|
/// <exception cref="T:System.ObjectDisposedException">The resource set has been closed or disposed.</exception>
|
|
// Token: 0x06001394 RID: 5012 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001394")]
|
|
[Address(RVA = "0x295C6E0", Offset = "0x295B4E0", VA = "0x18295C6E0", Slot = "7")]
|
|
[ComVisible(false)]
|
|
public virtual IDictionaryEnumerator GetEnumerator()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns an <see cref="T:System.Collections.IEnumerator" /> object to avoid a race condition with <see langword="Dispose" />. This member is not intended to be used directly from your code.</summary>
|
|
/// <returns>An enumerator for the current <see cref="T:System.Resources.ResourceSet" /> object.</returns>
|
|
// Token: 0x06001395 RID: 5013 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001395")]
|
|
[Address(RVA = "0x295C6E0", Offset = "0x295B4E0", VA = "0x18295C6E0", Slot = "5")]
|
|
IEnumerator IEnumerable.GetEnumerator()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001396 RID: 5014 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001396")]
|
|
[Address(RVA = "0x295C650", Offset = "0x295B450", VA = "0x18295C650")]
|
|
private IDictionaryEnumerator GetEnumeratorHelper()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Searches for a <see cref="T:System.String" /> resource with the specified name.</summary>
|
|
/// <param name="name">Name of the resource to search for.</param>
|
|
/// <returns>The value of a resource, if the value is a <see cref="T:System.String" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The resource specified by <paramref name="name" /> is not a <see cref="T:System.String" />.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
|
|
// Token: 0x06001397 RID: 5015 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001397")]
|
|
[Address(RVA = "0x295C820", Offset = "0x295B620", VA = "0x18295C820", Slot = "8")]
|
|
public virtual string GetString(string name)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Searches for a <see cref="T:System.String" /> resource with the specified name in a case-insensitive manner, if requested.</summary>
|
|
/// <param name="name">Name of the resource to search for.</param>
|
|
/// <param name="ignoreCase">Indicates whether the case of the case of the specified name should be ignored.</param>
|
|
/// <returns>The value of a resource, if the value is a <see cref="T:System.String" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The resource specified by <paramref name="name" /> is not a <see cref="T:System.String" />.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
|
|
// Token: 0x06001398 RID: 5016 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001398")]
|
|
[Address(RVA = "0x295C930", Offset = "0x295B730", VA = "0x18295C930", Slot = "9")]
|
|
public virtual string GetString(string name, bool ignoreCase)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Searches for a resource object with the specified name.</summary>
|
|
/// <param name="name">Case-sensitive name of the resource to search for.</param>
|
|
/// <returns>The requested resource.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
|
|
// Token: 0x06001399 RID: 5017 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001399")]
|
|
[Address(RVA = "0x295C810", Offset = "0x295B610", VA = "0x18295C810", Slot = "10")]
|
|
public virtual object GetObject(string name)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Searches for a resource object with the specified name in a case-insensitive manner, if requested.</summary>
|
|
/// <param name="name">Name of the resource to search for.</param>
|
|
/// <param name="ignoreCase">Indicates whether the case of the specified name should be ignored.</param>
|
|
/// <returns>The requested resource.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ObjectDisposedException">The object has been closed or disposed.</exception>
|
|
// Token: 0x0600139A RID: 5018 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600139A")]
|
|
[Address(RVA = "0x295C7C0", Offset = "0x295B5C0", VA = "0x18295C7C0", Slot = "11")]
|
|
public virtual object GetObject(string name, bool ignoreCase)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600139B RID: 5019 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600139B")]
|
|
[Address(RVA = "0x295C6F0", Offset = "0x295B4F0", VA = "0x18295C6F0")]
|
|
private object GetObjectInternal(string name)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600139C RID: 5020 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600139C")]
|
|
[Address(RVA = "0x295C380", Offset = "0x295B180", VA = "0x18295C380")]
|
|
private object GetCaseInsensitiveObjectInternal(string name)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Indicates the <see cref="T:System.Resources.IResourceReader" /> used to read the resources.</summary>
|
|
// Token: 0x040009E6 RID: 2534
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40009E6")]
|
|
[NonSerialized]
|
|
protected IResourceReader Reader;
|
|
|
|
/// <summary>The <see cref="T:System.Collections.Hashtable" /> in which the resources are stored.</summary>
|
|
// Token: 0x040009E7 RID: 2535
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40009E7")]
|
|
protected Hashtable Table;
|
|
|
|
// Token: 0x040009E8 RID: 2536
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40009E8")]
|
|
private Hashtable _caseInsensitiveTable;
|
|
}
|
|
}
|