C# Class MsgPack.TupleItems

Defines helper method for items of tuple type.
显示文件 Open project: msgpack/msgpack-cli

Public Methods

Method Description
CreateTupleTypeList ( IList itemTypes ) : List

Creates type list for nested tuples.

GetTupleItemTypes ( Type tupleType ) : IList
IsTuple ( Type type ) : bool

Private Methods

Method Description
GetTupleItemTypes ( IList itemTypes, IList result ) : void

Method Details

CreateTupleTypeList() public static method

Creates type list for nested tuples.
public static CreateTupleTypeList ( IList itemTypes ) : List
itemTypes IList The type list of tuple items, in order.
return List

GetTupleItemTypes() public static method

public static GetTupleItemTypes ( Type tupleType ) : IList
tupleType System.Type
return IList

IsTuple() public static method

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