$inlinecount=allpages&$top=20&$filter=isof(MyNamespace.Data.Core.Entities.Engineer)&$orderby=Name%20ascCast or IsOf Function must have a type in its arguments." "message":"Castor IsOf Function must have a
public static bool IsOf(this Type child, Type parent) var currentChild = child.GetBlah(parent);我的意思是,我可以理解这个三元表达式和GetGenericTypeDefinition函数,但我似乎不知道它在IsOf方法中的用法,尤其是传递的parent参数。