using System;
using System.Threading.Tasks;
using Cpp2IlInjected;
namespace System.Xml
{
/// Resolves external XML resources named by a Uniform Resource Identifier (URI).
// Token: 0x020000FA RID: 250
[Token(Token = "0x20000FA")]
public abstract class XmlResolver
{
/// When overridden in a derived class, maps a URI to an object that contains the actual resource.
/// The URI returned from .
/// Currently not used.
/// The type of object to return. The current version only returns System.IO.Stream objects.
/// A stream object or if a type other than stream is specified.
///
/// is not a type.
/// The specified URI is not an absolute URI.
///
/// is .
/// There is a runtime error (for example, an interrupted server connection).
// Token: 0x06000C23 RID: 3107
[Token(Token = "0x6000C23")]
[Address(Slot = "4")]
public abstract object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn);
/// When overridden in a derived class, resolves the absolute URI from the base and relative URIs.
/// The base URI used to resolve the relative URI.
/// The URI to resolve. The URI can be absolute or relative. If absolute, this value effectively replaces the value. If relative, it combines with the to make an absolute URI.
/// The absolute URI or if the relative URI cannot be resolved.
///
/// is .
// Token: 0x06000C24 RID: 3108 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C24")]
[Address(RVA = "0x4B7F80", Offset = "0x4B6F80", VA = "0x1804B7F80", Slot = "5")]
public virtual Uri ResolveUri(Uri baseUri, string relativeUri)
{
return null;
}
/// Enables the resolver to return types other than .
/// The URI.
/// The type to return.
///
/// if the is supported; otherwise, .
// Token: 0x06000C25 RID: 3109 RVA: 0x000068B8 File Offset: 0x00004AB8
[Token(Token = "0x6000C25")]
[Address(RVA = "0x4B8160", Offset = "0x4B7160", VA = "0x1804B8160", Slot = "6")]
public virtual bool SupportsType(Uri absoluteUri, Type type)
{
return default(bool);
}
/// Asynchronously maps a URI to an object that contains the actual resource.
/// The URI returned from .
/// Currently not used.
/// The type of object to return. The current version only returns objects.
/// A stream object or if a type other than stream is specified.
// Token: 0x06000C26 RID: 3110 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C26")]
[Address(RVA = "0x4B7F30", Offset = "0x4B6F30", VA = "0x1804B7F30", Slot = "7")]
public virtual Task