M_Cyjb_CommonExceptions_CheckDelegateType - CYJB/Cyjb GitHub Wiki

CommonExceptions.CheckDelegateType 方法

检查指定类型是否是委托类型,如果不是则抛出相应异常。

Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public static void CheckDelegateType(
	Type type,
	string? paramName = null
)

参数

 

type
Type: System.Type
要检查是否是委托类型的类型。
paramName (Optional)
Type: System.String
产生异常的参数名称。

参见

Reference

CommonExceptions 类
Cyjb 命名空间

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