M_Cyjb_GenericConvert_GetConverterType - CYJB/Cyjb GitHub Wiki
返回具有指定输入和输出类型的 Converter(TInput, TOutput) 类型。
Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public static Type GetConverterType(
Type inputType,
Type outputType
)
- inputType
- Type: System.Type
要转换的对象的类型。 - outputType
- Type: System.Type
要将输入对象转换到的类型。
Type: Type
具有指定输入和输出类型的 Converter(TInput, TOutput) 类型。
异常 | 条件 |
---|---|
ArgumentNullException |
inputType 为 null 。 |
ArgumentNullException |
outputType 为 null 。 |