27 lines
1.1 KiB
C#
27 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Provides functionality to format the value of an object into a string representation.</summary>
|
|
// Token: 0x0200010A RID: 266
|
|
[Token(Token = "0x200010A")]
|
|
[ComVisible(true)]
|
|
public interface IFormattable
|
|
{
|
|
/// <summary>Formats the value of the current instance using the specified format.</summary>
|
|
/// <param name="format">The format to use.
|
|
/// -or-
|
|
/// A null reference (<see langword="Nothing" /> in Visual Basic) to use the default format defined for the type of the <see cref="T:System.IFormattable" /> implementation.</param>
|
|
/// <param name="formatProvider">The provider to use to format the value.
|
|
/// -or-
|
|
/// A null reference (<see langword="Nothing" /> in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.</param>
|
|
/// <returns>The value of the current instance in the specified format.</returns>
|
|
// Token: 0x060009B2 RID: 2482
|
|
[Token(Token = "0x60009B2")]
|
|
[Address(Slot = "0")]
|
|
string ToString(string format, IFormatProvider formatProvider);
|
|
}
|
|
}
|