1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
//
// System.Reflection.IReflect.cs
//
// Author:
// Miguel de Icaza (miguel@ximian.com)
//
// (C) Ximian, Inc. http://www.ximian.com
//
// TODO: Mucho left to implement.
//
using System.Globalization;
namespace System.Reflection {
public interface IReflect {
Type UnderlyingSystemType {
get;
}
FieldInfo GetField (string name, BindingFlags binding_attr);
FieldInfo [] GetFields (BindingFlags binding_attr);
MemberInfo[] GetMember (string name, BindingFlags binding_attr);
MemberInfo[] GetMembers (BindingFlags binding_attr);
MethodInfo GetMethod (string name, BindingFlags binding_attr);
MethodInfo GetMethod (string name, BindingFlags binding_attr,
Binder binder, Type [] types, ParameterModifier [] modifiers);
MethodInfo[] GetMethods (BindingFlags binding_attr);
PropertyInfo [] GetProperties (BindingFlags binding_attr);
PropertyInfo GetProperty (string name, BindingFlags binding_attr);
PropertyInfo GetProperty (string name, BindingFlags binding_attr,
Binder binder, Type return_type, Type [] types,
ParameterModifier [] modifiers);
object InvokeMember (string name, BindingFlags invoke_attr,
Binder binder, object target, object [] args,
ParameterModifier [] modifiers,
CultureInfo culture,
string [] named_parameters);
}
}
|