24 lines
1.1 KiB
C#
24 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Defines a method that supports custom formatting of the value of an object.</summary>
|
|
// Token: 0x02000106 RID: 262
|
|
[Token(Token = "0x2000106")]
|
|
[ComVisible(true)]
|
|
public interface ICustomFormatter
|
|
{
|
|
/// <summary>Converts the value of a specified object to an equivalent string representation using specified format and culture-specific formatting information.</summary>
|
|
/// <param name="format">A format string containing formatting specifications.</param>
|
|
/// <param name="arg">An object to format.</param>
|
|
/// <param name="formatProvider">An object that supplies format information about the current instance.</param>
|
|
/// <returns>The string representation of the value of <paramref name="arg" />, formatted as specified by <paramref name="format" /> and <paramref name="formatProvider" />.</returns>
|
|
// Token: 0x060009AE RID: 2478
|
|
[Token(Token = "0x60009AE")]
|
|
[Address(Slot = "0")]
|
|
string Format(string format, object arg, IFormatProvider formatProvider);
|
|
}
|
|
}
|