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

168 lines
7.8 KiB
C#
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Xml.Schema;
using Cpp2IlInjected;
namespace System.Xml.XPath
{
/// <summary>Represents an item in the XQuery 1.0 and XPath 2.0 Data Model.</summary>
// Token: 0x02000087 RID: 135
[Token(Token = "0x2000087")]
public abstract class XPathItem
{
/// <summary>When overridden in a derived class, gets the <see cref="T:System.Xml.Schema.XmlSchemaType" /> for the item.</summary>
/// <returns>The <see cref="T:System.Xml.Schema.XmlSchemaType" /> for the item.</returns>
// Token: 0x170001BE RID: 446
// (get) Token: 0x0600055E RID: 1374
[Token(Token = "0x170001BE")]
public abstract XmlSchemaType XmlType
{
[Token(Token = "0x600055E")]
[Address(Slot = "4")]
get;
}
/// <summary>When overridden in a derived class, gets the <see langword="string" /> value of the item.</summary>
/// <returns>The <see langword="string" /> value of the item.</returns>
// Token: 0x170001BF RID: 447
// (get) Token: 0x0600055F RID: 1375
[Token(Token = "0x170001BF")]
public abstract string Value
{
[Token(Token = "0x600055F")]
[Address(Slot = "5")]
get;
}
/// <summary>When overridden in a derived class, gets the current item as a boxed object of the most appropriate .NET Framework 2.0 type according to its schema type.</summary>
/// <returns>The current item as a boxed object of the most appropriate .NET Framework type.</returns>
// Token: 0x170001C0 RID: 448
// (get) Token: 0x06000560 RID: 1376
[Token(Token = "0x170001C0")]
public abstract object TypedValue
{
[Token(Token = "0x6000560")]
[Address(Slot = "6")]
get;
}
/// <summary>When overridden in a derived class, gets the .NET Framework 2.0 type of the item.</summary>
/// <returns>The .NET Framework type of the item. The default value is <see cref="T:System.String" />.</returns>
// Token: 0x170001C1 RID: 449
// (get) Token: 0x06000561 RID: 1377
[Token(Token = "0x170001C1")]
public abstract Type ValueType
{
[Token(Token = "0x6000561")]
[Address(Slot = "7")]
get;
}
/// <summary>When overridden in a derived class, gets the item's value as a <see cref="T:System.Boolean" />.</summary>
/// <returns>The item's value as a <see cref="T:System.Boolean" />.</returns>
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.Boolean" /> type.</exception>
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Boolean" /> is not valid.</exception>
// Token: 0x170001C2 RID: 450
// (get) Token: 0x06000562 RID: 1378
[Token(Token = "0x170001C2")]
public abstract bool ValueAsBoolean
{
[Token(Token = "0x6000562")]
[Address(Slot = "8")]
get;
}
/// <summary>When overridden in a derived class, gets the item's value as a <see cref="T:System.DateTime" />.</summary>
/// <returns>The item's value as a <see cref="T:System.DateTime" />.</returns>
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.DateTime" /> type.</exception>
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.DateTime" /> is not valid.</exception>
// Token: 0x170001C3 RID: 451
// (get) Token: 0x06000563 RID: 1379
[Token(Token = "0x170001C3")]
public abstract DateTime ValueAsDateTime
{
[Token(Token = "0x6000563")]
[Address(Slot = "9")]
get;
}
/// <summary>When overridden in a derived class, gets the item's value as a <see cref="T:System.Double" />.</summary>
/// <returns>The item's value as a <see cref="T:System.Double" />.</returns>
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.Double" /> type.</exception>
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Double" /> is not valid.</exception>
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
// Token: 0x170001C4 RID: 452
// (get) Token: 0x06000564 RID: 1380
[Token(Token = "0x170001C4")]
public abstract double ValueAsDouble
{
[Token(Token = "0x6000564")]
[Address(Slot = "10")]
get;
}
/// <summary>When overridden in a derived class, gets the item's value as an <see cref="T:System.Int32" />.</summary>
/// <returns>The item's value as an <see cref="T:System.Int32" />.</returns>
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.Int32" /> type.</exception>
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Int32" /> is not valid.</exception>
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
// Token: 0x170001C5 RID: 453
// (get) Token: 0x06000565 RID: 1381
[Token(Token = "0x170001C5")]
public abstract int ValueAsInt
{
[Token(Token = "0x6000565")]
[Address(Slot = "11")]
get;
}
/// <summary>When overridden in a derived class, gets the item's value as an <see cref="T:System.Int64" />.</summary>
/// <returns>The item's value as an <see cref="T:System.Int64" />.</returns>
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.Int64" /> type.</exception>
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Int64" /> is not valid.</exception>
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
// Token: 0x170001C6 RID: 454
// (get) Token: 0x06000566 RID: 1382
[Token(Token = "0x170001C6")]
public abstract long ValueAsLong
{
[Token(Token = "0x6000566")]
[Address(Slot = "12")]
get;
}
/// <summary>Returns the item's value as the specified type.</summary>
/// <param name="returnType">The type to return the item value as.</param>
/// <returns>The value of the item as the type requested.</returns>
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the target type.</exception>
/// <exception cref="T:System.InvalidCastException">The attempted cast is not valid.</exception>
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
// Token: 0x06000567 RID: 1383 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000567")]
[Address(RVA = "0x45D960", Offset = "0x45C760", VA = "0x18045D960", Slot = "13")]
public virtual object ValueAs(Type returnType)
{
return null;
}
/// <summary>When overridden in a derived class, returns the item's value as the type specified using the <see cref="T:System.Xml.IXmlNamespaceResolver" /> object specified to resolve namespace prefixes.</summary>
/// <param name="returnType">The type to return the item's value as.</param>
/// <param name="nsResolver">The <see cref="T:System.Xml.IXmlNamespaceResolver" /> object used to resolve namespace prefixes.</param>
/// <returns>The value of the item as the type requested.</returns>
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the target type.</exception>
/// <exception cref="T:System.InvalidCastException">The attempted cast is not valid.</exception>
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
// Token: 0x06000568 RID: 1384
[Token(Token = "0x6000568")]
[Address(Slot = "14")]
public abstract object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver);
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.XPath.XPathItem" /> class.</summary>
// Token: 0x06000569 RID: 1385 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000569")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected XPathItem()
{
}
}
}