Functions.MethodListClass 方法 |
命名空间: XSharp.RT
FUNCTION MethodListClass( symClass AS STRING ) AS ARRAY
public static __Array MethodListClass( string symClass )
1FUNCTION Start() 2 AEval(MethodListClass(#Person),{|x| QOut(x)}) 3 // 结果是: 4 // INIT 5 // SHOWGRADE 6CLASS Person 7 EXPORT name 8 INSTANCE grade 9 PROTECT password 10CONSTRUCTOR(tname, tgrade, tpassword) 11 name := tname 12 grade := tgrade 13 password := tpassword 14METHOD ShowGrade() 15 ? grade 16ACCESS Grade() 17 RETURN grade 18END CLASS