C# Class Duality.Serialization.ExtMethodsDataType

Extension methods for Duality.Serialization.DataType
显示文件 Open project: BraveSirAndrew/duality

Public Methods

Method Description
HasObjectId ( this dt ) : bool

Returns whether the specified DataType requires a unique object id during serialization.

HasTypeName ( this dt ) : bool

Returns whether the specified DataType requires an explicit type name during serialization.

IsMemberInfoType ( this dt ) : bool

Returns whether the Duality.Serialization.DataType represents a System.Reflection.MemberInfo type.

IsPrimitiveType ( this dt ) : bool

Returns whether the Duality.Serialization.DataType represents a primitive data type.

ToActualType ( this dt ) : Type

Returns the actual System.Type that is associated with the Duality.Serialization.DataType.

Method Details

HasObjectId() public static method

Returns whether the specified DataType requires a unique object id during serialization.
public static HasObjectId ( this dt ) : bool
dt this
return bool

HasTypeName() public static method

Returns whether the specified DataType requires an explicit type name during serialization.
public static HasTypeName ( this dt ) : bool
dt this
return bool

IsMemberInfoType() public static method

Returns whether the Duality.Serialization.DataType represents a System.Reflection.MemberInfo type.
public static IsMemberInfoType ( this dt ) : bool
dt this
return bool

IsPrimitiveType() public static method

Returns whether the Duality.Serialization.DataType represents a primitive data type.
public static IsPrimitiveType ( this dt ) : bool
dt this
return bool

ToActualType() public static method

Returns the actual System.Type that is associated with the Duality.Serialization.DataType.
public static ToActualType ( this dt ) : Type
dt this
return System.Type