using System;
using System.Runtime.InteropServices;
namespace System.Runtime.Serialization
{
/// Provides the connection between an instance of and the formatter-provided class best suited to parse the data inside the .
// Token: 0x0200047D RID: 1149
[CLSCompliant(false)]
[ComVisible(true)]
public interface IFormatterConverter
{
/// Converts a value to the given .
/// The converted .
/// The object to be converted.
/// The into which is to be converted.
// Token: 0x06002BEA RID: 11242
object Convert(object value, Type type);
/// Converts a value to the given .
/// The converted .
/// The object to be converted.
/// The into which is to be converted.
// Token: 0x06002BEB RID: 11243
object Convert(object value, TypeCode typeCode);
/// Converts a value to a .
/// The converted .
/// The object to be converted.
// Token: 0x06002BEC RID: 11244
bool ToBoolean(object value);
/// Converts a value to an 8-bit unsigned integer.
/// The converted .
/// The object to be converted.
// Token: 0x06002BED RID: 11245
byte ToByte(object value);
/// Converts a value to a Unicode character.
/// The converted .
/// The object to be converted.
// Token: 0x06002BEE RID: 11246
char ToChar(object value);
/// Converts a value to a .
/// The converted .
/// The object to be converted.
// Token: 0x06002BEF RID: 11247
DateTime ToDateTime(object value);
/// Converts a value to a .
/// The converted .
/// The object to be converted.
// Token: 0x06002BF0 RID: 11248
decimal ToDecimal(object value);
/// Converts a value to a double-precision floating-point number.
/// The converted .
/// The object to be converted.
// Token: 0x06002BF1 RID: 11249
double ToDouble(object value);
/// Converts a value to a 16-bit signed integer.
/// The converted .
/// The object to be converted.
// Token: 0x06002BF2 RID: 11250
short ToInt16(object value);
/// Converts a value to a 32-bit signed integer.
/// The converted .
/// The object to be converted.
// Token: 0x06002BF3 RID: 11251
int ToInt32(object value);
/// Converts a value to a 64-bit signed integer.
/// The converted .
/// The object to be converted.
// Token: 0x06002BF4 RID: 11252
long ToInt64(object value);
/// Converts a value to a .
/// The converted .
/// The object to be converted.
// Token: 0x06002BF5 RID: 11253
sbyte ToSByte(object value);
/// Converts a value to a single-precision floating-point number.
/// The converted .
/// The object to be converted.
// Token: 0x06002BF6 RID: 11254
float ToSingle(object value);
/// Converts a value to a .
/// The converted .
/// The object to be converted.
// Token: 0x06002BF7 RID: 11255
string ToString(object value);
/// Converts a value to a 16-bit unsigned integer.
/// The converted .
/// The object to be converted.
// Token: 0x06002BF8 RID: 11256
ushort ToUInt16(object value);
/// Converts a value to a 32-bit unsigned integer.
/// The converted .
/// The object to be converted.
// Token: 0x06002BF9 RID: 11257
uint ToUInt32(object value);
/// Converts a value to a 64-bit unsigned integer.
/// The converted .
/// The object to be converted.
// Token: 0x06002BFA RID: 11258
ulong ToUInt64(object value);
}
}