51 lines
1.7 KiB
C#
51 lines
1.7 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Represents a composite format string, along with the arguments to be formatted.</summary>
|
|
// Token: 0x0200008A RID: 138
|
|
[Token(Token = "0x200008A")]
|
|
public abstract class FormattableString
|
|
{
|
|
/// <summary>Returns the composite format string.</summary>
|
|
/// <returns>The composite format string.</returns>
|
|
// Token: 0x17000081 RID: 129
|
|
// (get) Token: 0x0600044D RID: 1101
|
|
[Token(Token = "0x17000081")]
|
|
public abstract string Format
|
|
{
|
|
[Token(Token = "0x600044D")]
|
|
[Address(Slot = "4")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Returns an object array that contains one or more objects to format.</summary>
|
|
/// <returns>An object array that contains one or more objects to format.</returns>
|
|
// Token: 0x0600044E RID: 1102
|
|
[Token(Token = "0x600044E")]
|
|
[Address(Slot = "5")]
|
|
public abstract object[] GetArguments();
|
|
|
|
/// <summary>Gets the number of arguments to be formatted.</summary>
|
|
/// <returns>The number of arguments to be formatted.</returns>
|
|
// Token: 0x17000082 RID: 130
|
|
// (get) Token: 0x0600044F RID: 1103
|
|
[Token(Token = "0x17000082")]
|
|
public abstract int ArgumentCount
|
|
{
|
|
[Token(Token = "0x600044F")]
|
|
[Address(Slot = "6")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Returns the argument at the specified index position.</summary>
|
|
/// <param name="index">The index of the argument. Its value can range from zero to one less than the value of <see cref="P:System.FormattableString.ArgumentCount" />.</param>
|
|
/// <returns>The argument.</returns>
|
|
// Token: 0x06000450 RID: 1104
|
|
[Token(Token = "0x6000450")]
|
|
[Address(Slot = "7")]
|
|
public abstract object GetArgument(int index);
|
|
}
|
|
}
|