Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IFormatterConverter.cs
Go to the documentation of this file.
1
namespace
System.Runtime.Serialization
;
2
3
[
CLSCompliant
(
false
)]
4
public
interface
IFormatterConverter
5
{
6
object
Convert
(
object
value
,
Type
type
);
7
8
object
Convert
(
object
value
,
TypeCode
typeCode);
9
10
bool
ToBoolean
(
object
value
);
11
12
char
ToChar
(
object
value
);
13
14
sbyte
ToSByte
(
object
value
);
15
16
byte
ToByte
(
object
value
);
17
18
short
ToInt16
(
object
value
);
19
20
ushort
ToUInt16
(
object
value
);
21
22
int
ToInt32
(
object
value
);
23
24
uint
ToUInt32
(
object
value
);
25
26
long
ToInt64
(
object
value
);
27
28
ulong
ToUInt64
(
object
value
);
29
30
float
ToSingle
(
object
value
);
31
32
double
ToDouble
(
object
value
);
33
34
decimal
ToDecimal
(
object
value
);
35
36
DateTime
ToDateTime
(
object
value
);
37
38
string
?
ToString
(
object
value
);
39
}
System.Type
Definition
Type.cs:14
System.Runtime.Serialization.IFormatterConverter.ToUInt64
ulong ToUInt64(object value)
System.Runtime.Serialization.IFormatterConverter.ToSingle
float ToSingle(object value)
System.Runtime.Serialization.IFormatterConverter.ToDouble
double ToDouble(object value)
System.Runtime.Serialization.IFormatterConverter.ToInt32
int ToInt32(object value)
System.Runtime.Serialization.IFormatterConverter.ToDateTime
DateTime ToDateTime(object value)
System.Runtime.Serialization.IFormatterConverter.ToByte
byte ToByte(object value)
System.Runtime.Serialization.IFormatterConverter.ToChar
char ToChar(object value)
System.Runtime.Serialization.IFormatterConverter.ToUInt32
uint ToUInt32(object value)
System.Runtime.Serialization.IFormatterConverter.ToBoolean
bool ToBoolean(object value)
System.Runtime.Serialization.IFormatterConverter.Convert
object Convert(object value, TypeCode typeCode)
System.Runtime.Serialization.IFormatterConverter.ToInt16
short ToInt16(object value)
System.Runtime.Serialization.IFormatterConverter.ToDecimal
decimal ToDecimal(object value)
System.Runtime.Serialization.IFormatterConverter.ToSByte
sbyte ToSByte(object value)
System.Runtime.Serialization.IFormatterConverter.ToInt64
long ToInt64(object value)
System.Runtime.Serialization.IFormatterConverter.ToString
string? ToString(object value)
System.Runtime.Serialization.IFormatterConverter.Convert
object Convert(object value, Type type)
System.Runtime.Serialization.IFormatterConverter.ToUInt16
ushort ToUInt16(object value)
System.Runtime.Serialization.IFormatterConverter
Definition
IFormatterConverter.cs:5
System.Runtime.Serialization.CollectionKind.Dictionary
@ Dictionary
System.Runtime.Serialization
Definition
SerializationGuard.cs:3
System.TypeCode
TypeCode
Definition
TypeCode.cs:4
System.ExceptionArgument.value
@ value
System.ExceptionArgument.type
@ type
System.DateTime
Definition
DateTime.cs:15
source
System.Private.CoreLib
System.Runtime.Serialization
IFormatterConverter.cs
Generated by
1.10.0