22 lines
866 B
C#
22 lines
866 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Provides a mechanism for retrieving an object to control formatting.</summary>
|
|
// Token: 0x02000109 RID: 265
|
|
[Token(Token = "0x2000109")]
|
|
[ComVisible(true)]
|
|
public interface IFormatProvider
|
|
{
|
|
/// <summary>Returns an object that provides formatting services for the specified type.</summary>
|
|
/// <param name="formatType">An object that specifies the type of format object to return.</param>
|
|
/// <returns>An instance of the object specified by <paramref name="formatType" />, if the <see cref="T:System.IFormatProvider" /> implementation can supply that type of object; otherwise, <see langword="null" />.</returns>
|
|
// Token: 0x060009B1 RID: 2481
|
|
[Token(Token = "0x60009B1")]
|
|
[Address(Slot = "0")]
|
|
object GetFormat(Type formatType);
|
|
}
|
|
}
|