C# Class fNbt.Serialization.SerializationUtil

Contains shared code and data used by various serialization-related classes.
Mostrar archivo Open project: fragmer/fNbt Class Usage Examples

Public Methods

Method Description
CategorizeType ( Type type ) : TypeCategory
FindTagType ( Type valueType ) : Type
FindTagTypeEnum ( Type tagType ) : NbtTagType
FindTagTypeForValue ( Type valueType ) : Type
GetDefaultValue ( Type type ) : object
GetStringIDictionaryImpl ( Type concreteType ) : Type
IsDirectlyMappedType ( Type type ) : bool

Private Methods

Method Description
ConstructTag ( [ valueType ) : NbtTag
GetConvertedType ( [ rawType ) : Type
GetGenericInterfaceImpl ( Type concreteType, Type genericInterface ) : Type
GetGenericInterfaceMethodImpl ( Type concreteType, Type genericInterface, string methodName, Type methodParams ) : MethodInfo
IsSafelyConvertibleToByte ( [ valueType ) : bool
IsSafelyConvertibleToInt ( [ valueType ) : bool

Method Details

CategorizeType() public static method

public static CategorizeType ( Type type ) : TypeCategory
type System.Type
return TypeCategory

FindTagType() public static method

public static FindTagType ( Type valueType ) : Type
valueType System.Type
return System.Type

FindTagTypeEnum() public static method

public static FindTagTypeEnum ( Type tagType ) : NbtTagType
tagType System.Type
return NbtTagType

FindTagTypeForValue() public static method

public static FindTagTypeForValue ( Type valueType ) : Type
valueType System.Type
return System.Type

GetDefaultValue() public static method

public static GetDefaultValue ( Type type ) : object
type System.Type
return object

GetStringIDictionaryImpl() public static method

public static GetStringIDictionaryImpl ( Type concreteType ) : Type
concreteType System.Type
return System.Type

IsDirectlyMappedType() public static method

public static IsDirectlyMappedType ( Type type ) : bool
type System.Type
return bool