C# Class Wire.Extensions.TypeEx

Show file Open project: akkadotnet/Wire

Public Properties

Property Type Description
BoolType System.Type
ByteArrayType System.Type
ByteType System.Type
CharType System.Type
DateTimeType System.Type
DecimalType System.Type
DoubleType System.Type
FloatType System.Type
GuidType System.Type
Int16Type System.Type
Int32Type System.Type
Int64Type System.Type
RuntimeType Type
SByteType Type
StringType Type
SystemObject Type
TypeType Type
UInt16Type Type
UInt32Type Type
UInt64Type Type

Public Methods

Method Description
GetEmptyObject ( this type ) : object
GetNullableElement ( this type ) : Type
GetShortAssemblyQualifiedName ( this self ) : string
GetTypeFromManifestFull ( Stream stream, DeserializerSession session ) : Type
GetTypeFromManifestIndex ( int typeId, DeserializerSession session ) : Type
GetTypeFromManifestVersion ( Stream stream, DeserializerSession session ) : Type
GetTypeManifest ( IReadOnlyCollection fieldNames ) : byte[]
GetTypeSize ( this type ) : int
IsFixedSizeType ( this type ) : bool
IsNullable ( this type ) : bool
IsOneDimensionalArray ( this type ) : bool
IsOneDimensionalPrimitiveArray ( this type ) : bool
IsWirePrimitive ( this type ) : bool
ToQualifiedAssemblyName ( string shortName ) : string

Private Methods

Method Description
GetCoreAssemblyName ( ) : string
GetTypeFromManifestName ( Stream stream, DeserializerSession session ) : Type

Method Details

GetEmptyObject() public static method

public static GetEmptyObject ( this type ) : object
type this
return object

GetNullableElement() public static method

public static GetNullableElement ( this type ) : Type
type this
return System.Type

GetShortAssemblyQualifiedName() public static method

public static GetShortAssemblyQualifiedName ( this self ) : string
self this
return string

GetTypeFromManifestFull() public static method

public static GetTypeFromManifestFull ( Stream stream, DeserializerSession session ) : Type
stream Stream
session DeserializerSession
return System.Type

GetTypeFromManifestIndex() public static method

public static GetTypeFromManifestIndex ( int typeId, DeserializerSession session ) : Type
typeId int
session DeserializerSession
return System.Type

GetTypeFromManifestVersion() public static method

public static GetTypeFromManifestVersion ( Stream stream, DeserializerSession session ) : Type
stream Stream
session DeserializerSession
return System.Type

GetTypeManifest() public static method

public static GetTypeManifest ( IReadOnlyCollection fieldNames ) : byte[]
fieldNames IReadOnlyCollection
return byte[]

GetTypeSize() public static method

public static GetTypeSize ( this type ) : int
type this
return int

IsFixedSizeType() public static method

public static IsFixedSizeType ( this type ) : bool
type this
return bool

IsNullable() public static method

public static IsNullable ( this type ) : bool
type this
return bool

IsOneDimensionalArray() public static method

public static IsOneDimensionalArray ( this type ) : bool
type this
return bool

IsOneDimensionalPrimitiveArray() public static method

public static IsOneDimensionalPrimitiveArray ( this type ) : bool
type this
return bool

IsWirePrimitive() public static method

public static IsWirePrimitive ( this type ) : bool
type this
return bool

ToQualifiedAssemblyName() public static method

public static ToQualifiedAssemblyName ( string shortName ) : string
shortName string
return string

Property Details

BoolType public static property

public static Type,System BoolType
return System.Type

ByteArrayType public static property

public static Type,System ByteArrayType
return System.Type

ByteType public static property

public static Type,System ByteType
return System.Type

CharType public static property

public static Type,System CharType
return System.Type

DateTimeType public static property

public static Type,System DateTimeType
return System.Type

DecimalType public static property

public static Type,System DecimalType
return System.Type

DoubleType public static property

public static Type,System DoubleType
return System.Type

FloatType public static property

public static Type,System FloatType
return System.Type

GuidType public static property

public static Type,System GuidType
return System.Type

Int16Type public static property

public static Type,System Int16Type
return System.Type

Int32Type public static property

public static Type,System Int32Type
return System.Type

Int64Type public static property

public static Type,System Int64Type
return System.Type

RuntimeType public static property

public static Type RuntimeType
return Type

SByteType public static property

public static Type SByteType
return Type

StringType public static property

public static Type StringType
return Type

SystemObject public static property

public static Type SystemObject
return Type

TypeType public static property

public static Type TypeType
return Type

UInt16Type public static property

public static Type UInt16Type
return Type

UInt32Type public static property

public static Type UInt32Type
return Type

UInt64Type public static property

public static Type UInt64Type
return Type