Last change
on this file since 403 was 403, checked in by dai, 17 years ago |
・MemberInfoクラスを追加。
・KeyNotFoundExceptionクラスを追加。
・TypeInfo.GetMembersメソッドを追加。
・TypeInfoテストケースを追加。
|
File size:
412 bytes
|
Line | |
---|
1 | Namespace System
|
---|
2 | Namespace Reflection
|
---|
3 |
|
---|
4 |
|
---|
5 | Class MemberInfo
|
---|
6 | name As String
|
---|
7 | memberType As TypeInfo
|
---|
8 | Public
|
---|
9 | Sub MemberInfo( name As String, memberType As TypeInfo )
|
---|
10 | This.name = name
|
---|
11 | This.memberType = memberType
|
---|
12 | End Sub
|
---|
13 |
|
---|
14 | Function Name() As String
|
---|
15 | Return name
|
---|
16 | End Function
|
---|
17 |
|
---|
18 | Function MemberType() As TypeInfo
|
---|
19 | Return memberType
|
---|
20 | End Function
|
---|
21 | End Class
|
---|
22 |
|
---|
23 |
|
---|
24 | End Namespace
|
---|
25 | End Namespace
|
---|
Note:
See
TracBrowser
for help on using the repository browser.