Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

101 lines
4.7 KiB
C#

using System;
using System.Net;
using System.Net.Cache;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Xml
{
/// <summary>Resolves external XML resources named by a Uniform Resource Identifier (URI).</summary>
// Token: 0x02000083 RID: 131
[Token(Token = "0x2000083")]
public class XmlUrlResolver : XmlResolver
{
// Token: 0x170001BC RID: 444
// (get) Token: 0x06000552 RID: 1362 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001BC")]
private static XmlDownloadManager DownloadManager
{
[Token(Token = "0x6000552")]
[Address(RVA = "0x722CD0", Offset = "0x721AD0", VA = "0x180722CD0")]
get
{
return null;
}
}
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.XmlUrlResolver" /> class.</summary>
// Token: 0x06000553 RID: 1363 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000553")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public XmlUrlResolver()
{
}
/// <summary>Maps a URI to an object that contains the actual resource.</summary>
/// <param name="absoluteUri">The URI returned from <see cref="M:System.Xml.XmlResolver.ResolveUri(System.Uri,System.String)" />.</param>
/// <param name="role">Currently not used.</param>
/// <param name="ofObjectToReturn">The type of object to return. The current implementation only returns <see cref="T:System.IO.Stream" /> objects.</param>
/// <returns>A stream object or <see langword="null" /> if a type other than stream is specified.</returns>
/// <exception cref="T:System.Xml.XmlException">
/// <paramref name="ofObjectToReturn" /> is neither <see langword="null" /> nor a <see langword="Stream" /> type.</exception>
/// <exception cref="T:System.UriFormatException">The specified URI is not an absolute URI.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="absoluteUri" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.Exception">There is a runtime error (for example, an interrupted server connection).</exception>
// Token: 0x06000554 RID: 1364 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000554")]
[Address(RVA = "0x722B30", Offset = "0x721930", VA = "0x180722B30", Slot = "4")]
public override object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn)
{
return null;
}
/// <summary>Resolves the absolute URI from the base and relative URIs.</summary>
/// <param name="baseUri">The base URI used to resolve the relative URI.</param>
/// <param name="relativeUri">The URI to resolve. The URI can be absolute or relative. If absolute, this value effectively replaces the <paramref name="baseUri" /> value. If relative, it combines with the <paramref name="baseUri" /> to make an absolute URI.</param>
/// <returns>The absolute URI, or <see langword="null" /> if the relative URI cannot be resolved.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="baseUri" /> is <see langword="null" /> or <paramref name="relativeUri" /> is <see langword="null" />.</exception>
// Token: 0x06000555 RID: 1365 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000555")]
[Address(RVA = "0x722CC0", Offset = "0x721AC0", VA = "0x180722CC0", Slot = "5")]
public override Uri ResolveUri(Uri baseUri, string relativeUri)
{
return null;
}
/// <summary>Asynchronously maps a URI to an object that contains the actual resource.</summary>
/// <param name="absoluteUri">The URI returned from <see cref="M:System.Xml.XmlResolver.ResolveUri(System.Uri,System.String)" />.</param>
/// <param name="role">Currently not used.</param>
/// <param name="ofObjectToReturn">The type of object to return. The current implementation only returns <see cref="T:System.IO.Stream" /> objects.</param>
/// <returns>A stream object or <see langword="null" /> if a type other than stream is specified.</returns>
// Token: 0x06000556 RID: 1366 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000556")]
[Address(RVA = "0x722A20", Offset = "0x721820", VA = "0x180722A20", Slot = "7")]
public override Task<object> GetEntityAsync(Uri absoluteUri, string role, Type ofObjectToReturn)
{
return null;
}
// Token: 0x04000286 RID: 646
[Token(Token = "0x4000286")]
private static object s_DownloadManager;
// Token: 0x04000287 RID: 647
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000287")]
private ICredentials _credentials;
// Token: 0x04000288 RID: 648
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000288")]
private IWebProxy _proxy;
// Token: 0x04000289 RID: 649
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000289")]
private RequestCachePolicy _cachePolicy;
}
}