M_Cyjb_GenericConvert_GetConverterType - CYJB/Cyjb GitHub Wiki

GenericConvert.GetConverterType 方法

返回具有指定输入和输出类型的 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) 类型。

Exceptions

 

异常 条件
ArgumentNullException inputTypenull
ArgumentNullException outputTypenull

参见

Reference

GenericConvert 类
Cyjb 命名空间

⚠️ **GitHub.com Fallback** ⚠️