C# Class Metsys.Little.ListHelper

显示文件 Open project: karlseguin/Metsys.Little

Public Methods

Method Description
CreateDictionary ( Type dictionaryType, Type keyType, Type valueType ) : IDictionary
GetDictionarKeyType ( Type enumerableType ) : Type
GetDictionarValueType ( Type enumerableType ) : Type
GetListItemType ( Type enumerableType ) : Type

Method Details

CreateDictionary() public static method

public static CreateDictionary ( Type dictionaryType, Type keyType, Type valueType ) : IDictionary
dictionaryType System.Type
keyType System.Type
valueType System.Type
return IDictionary

GetDictionarKeyType() public static method

public static GetDictionarKeyType ( Type enumerableType ) : Type
enumerableType System.Type
return System.Type

GetDictionarValueType() public static method

public static GetDictionarValueType ( Type enumerableType ) : Type
enumerableType System.Type
return System.Type

GetListItemType() public static method

public static GetListItemType ( Type enumerableType ) : Type
enumerableType System.Type
return System.Type