using System; using System.Threading.Tasks; using Cpp2IlInjected; namespace System.Xml { /// Resolves external XML resources named by a Uniform Resource Identifier (URI). // Token: 0x02000082 RID: 130 [Token(Token = "0x2000082")] 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: 0x0600054D RID: 1357 [Token(Token = "0x600054D")] [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: 0x0600054E RID: 1358 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600054E")] [Address(RVA = "0x5E1A40", Offset = "0x5E0840", VA = "0x1805E1A40", 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: 0x0600054F RID: 1359 RVA: 0x00004230 File Offset: 0x00002430 [Token(Token = "0x600054F")] [Address(RVA = "0x5E1C20", Offset = "0x5E0A20", VA = "0x1805E1C20", 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: 0x06000550 RID: 1360 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000550")] [Address(RVA = "0x5E19F0", Offset = "0x5E07F0", VA = "0x1805E19F0", Slot = "7")] public virtual Task GetEntityAsync(Uri absoluteUri, string role, Type ofObjectToReturn) { return null; } /// Initializes a new instance of the class. // Token: 0x06000551 RID: 1361 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000551")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected XmlResolver() { } } }