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