M_Cyjb_IConverterProvider_GetConverterTo - CYJB/Cyjb GitHub Wiki
返回将对象从 OriginType 类型转换为 outputType 类型的类型转换器。 要求类型转换器是静态方法,不能是实例方法。
Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
Delegate? GetConverterTo(
Type outputType
)
- outputType
- Type: System.Type
要将输入对象转换到的类型。
Type: Delegate
将对象从 OriginType 类型转换为 outputType 类型的类型转换器,如果不存在则为 null
。
返回的委托必须符合 Converter(TInput, TOutput), 其输入类型是 OriginType,输出类型是 outputType。