22 lines
1.1 KiB
C#
22 lines
1.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Defines a method that supports custom formatting of the value of an object.</summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x02000675 RID: 1653
|
|
[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>
|
|
/// <returns>The string representation of the value of <paramref name="arg" />, formatted as specified by <paramref name="format" /> and <paramref name="formatProvider" />.</returns>
|
|
/// <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>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x06003EDB RID: 16091
|
|
string Format(string format, object arg, IFormatProvider formatProvider);
|
|
}
|
|
}
|