Last change
on this file since 470 was 403, checked in by dai, 17 years ago |
・MemberInfoクラスを追加。
・KeyNotFoundExceptionクラスを追加。
・TypeInfo.GetMembersメソッドを追加。
・TypeInfoテストケースを追加。
|
File size:
1.2 KB
|
Rev | Line | |
---|
[275] | 1 | Namespace System
|
---|
[195] | 2 |
|
---|
| 3 |
|
---|
[169] | 4 | Class TypeInfo
|
---|
| 5 | Public
|
---|
| 6 |
|
---|
| 7 | Sub TypeInfo()
|
---|
| 8 | End Sub
|
---|
[207] | 9 | Sub ~TypeInfo()
|
---|
| 10 | End Sub
|
---|
[169] | 11 |
|
---|
[214] | 12 | Override Function GetType() As TypeInfo
|
---|
[275] | 13 | Return ActiveBasic.Core._System_TypeBase.selfTypeInfo
|
---|
[214] | 14 | End Function
|
---|
[169] | 15 |
|
---|
[250] | 16 | Override Function ToString() As String
|
---|
| 17 | Return FullName()
|
---|
| 18 | End Function
|
---|
[214] | 19 |
|
---|
[250] | 20 |
|
---|
[169] | 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 |
|
---|
[403] | 43 | Abstract Function GetMembers() As System.Collections.Generic.List<System.Reflection.MemberInfo>
|
---|
| 44 |
|
---|
[169] | 45 | End Class
|
---|
| 46 |
|
---|
| 47 |
|
---|
[275] | 48 | End Namespace ' System
|
---|
Note:
See
TracBrowser
for help on using the repository browser.