wx.NetMacros.MethodCall Class Reference

List of all members.

Public Member Functions

System.Xml.Schema.XmlSchema GetSchema ()
 MethodCall (MethodInfo mi, object self, params object[] args)
 MethodCall ()
void ReadXml (System.Xml.XmlReader reader)
override string ToString ()
void WriteXml (System.Xml.XmlWriter writer)


object[] Args [get, set]
bool IsStatic [get, set]
MemberDescriptor Method [get, set]
object Self [get, set]

Detailed Description

Represents a call to a method.

Constructor & Destructor Documentation

wx.NetMacros.MethodCall.MethodCall (  ) 

Used for serializaton. Produces a call to System.Object.ToString().

wx.NetMacros.MethodCall.MethodCall ( MethodInfo  mi,
object  self,
params object[]  args 

Creates a call of method mi of object self with parameters args. This ctor will not test the consistency of hte arguments, i.e. whether this is of the declaring type of the method.

mi This is the method that will be called.
self This is the object where the method will be called. This parameter will be ignored on static methods.
args These objects will be passed as parameters to the method.

Member Function Documentation

System.Xml.Schema.XmlSchema wx.NetMacros.MethodCall.GetSchema (  ) 

void wx.NetMacros.MethodCall.ReadXml ( System.Xml.XmlReader  reader  ) 

override string wx.NetMacros.MethodCall.ToString (  ) 

void wx.NetMacros.MethodCall.WriteXml ( System.Xml.XmlWriter  writer  ) 

Property Documentation

object [] wx.NetMacros.MethodCall.Args [get, set]

The arguments that will be passed to the method as parameters. this shall be null for methods without arguments.

bool wx.NetMacros.MethodCall.IsStatic [get, set]

True iff the called method is static.

MemberDescriptor wx.NetMacros.MethodCall.Method [get, set]

Descriptor of the method that will be called.

object wx.NetMacros.MethodCall.Self [get, set]

This is the object that implements the method. The method will be called at this object. This will be null on static methods.

Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads