source: trunk/ab5.0/ablib/src/Classes/System/TypeInfo.ab@ 531

Last change on this file since 531 was 403, checked in by dai, 16 years ago

・MemberInfoクラスを追加。
・KeyNotFoundExceptionクラスを追加。
TypeInfo.GetMembersメソッドを追加。
・TypeInfoテストケースを追加。

File size: 1.2 KB
Line 
1Namespace System
2
3
4Class TypeInfo
5Public
6
7 Sub TypeInfo()
8 End Sub
9 Sub ~TypeInfo()
10 End Sub
11
12 Override Function GetType() As TypeInfo
13 Return ActiveBasic.Core._System_TypeBase.selfTypeInfo
14 End Function
15
16 Override Function ToString() As String
17 Return FullName()
18 End Function
19
20
21 '----------------------------------------------------------------
22 ' Public properties
23 '----------------------------------------------------------------
24
25 Abstract Function BaseType() As TypeInfo
26 Abstract Function FullName() As String
27 Abstract Function IsArray() As Boolean
28 Abstract Function IsByRef() As Boolean
29 Abstract Function IsClass() As Boolean
30 Abstract Function IsEnum() As Boolean
31 Abstract Function IsInterface() As Boolean
32 Abstract Function IsPointer() As Boolean
33 Abstract Function IsValueType() As Boolean
34 Abstract Function Name() As String
35 Abstract Function Namespace() As String
36
37
38
39 '----------------------------------------------------------------
40 ' Public methods
41 '----------------------------------------------------------------
42
43 Abstract Function GetMembers() As System.Collections.Generic.List<System.Reflection.MemberInfo>
44
45End Class
46
47
48End Namespace ' System
Note: See TracBrowser for help on using the repository browser.