/// <summary> /// 判断当前类型是否可由指定类型派生 /// </summary> /// <param name="type">当前类型</param> /// <param name="baseType">基类型</param> /// <param name="canAbstract">能否是抽象类</param> public static bool IsDeriveClassFrom(this Type type, Type baseType, bool canAbstract = false) => Reflections.IsDeriveClassFrom(type, baseType, canAbstract);