wx.NetMacros.MethodDescriptor Class Reference

Inheritance diagram for wx.NetMacros.MethodDescriptor:

wx.NetMacros.MemberDescriptor

List of all members.

Public Member Functions

override int CompareTo (object obj)
override string GetNameInClass ()
string GetSignatureString (params string[] knownNamespaces)
 MethodDescriptor (MethodInfo mi)
 MethodDescriptor (ConstructorInfo ci)
 MethodDescriptor ()
override string ToString ()

Static Public Member Functions

static new
MethodDescriptor 
Parse (string str)

Protected Member Functions

override void SetFromString (string str)

Properties

MemberDescriptor Generalized [get]
TypeDescriptor[] Signature [get, set]


Detailed Description

A member descriptor with attached signature - list of types in a parameter list.

Constructor & Destructor Documentation

wx.NetMacros.MethodDescriptor.MethodDescriptor (  ) 

Crates empty data. Use this e.g. for serialization.

wx.NetMacros.MethodDescriptor.MethodDescriptor ( ConstructorInfo  ci  ) 

Creates an instance describing the provided constructor.

Parameters:
ci The designated constructor

wx.NetMacros.MethodDescriptor.MethodDescriptor ( MethodInfo  mi  ) 

Creates an instance describing the provided method.

Parameters:
mi The designated method


Member Function Documentation

override int wx.NetMacros.MethodDescriptor.CompareTo ( object  obj  )  [virtual]

Reimplemented from wx.NetMacros.MemberDescriptor.

override string wx.NetMacros.MethodDescriptor.GetNameInClass (  )  [virtual]

Returns a human readable string identifying the member within the class. This is usually the property name or method name.

Reimplemented from wx.NetMacros.MemberDescriptor.

string wx.NetMacros.MethodDescriptor.GetSignatureString ( params string[]  knownNamespaces  ) 

A human readable string describing the signature of this method.

Parameters:
knownNamespaces An array of the names of those namespaces that can be considered as imported. Add those namespaces here that shall not be printed in order to keep the result compact.
Returns:

static new MethodDescriptor wx.NetMacros.MethodDescriptor.Parse ( string  str  )  [static]

Creates an instance referring to the provided string. This will expect a string of the format "M:Namespace.Classname.Methodname(Namespace.TypeOfArg0,Namespace.TypeOfArg1)"

Parameters:
str 
Exceptions:
System.FormatException Thrown if string is of an unknown format.

Reimplemented from wx.NetMacros.MemberDescriptor.

override void wx.NetMacros.MethodDescriptor.SetFromString ( string  str  )  [protected, virtual]

Loads the properties of this instance according to the provided string. This will expect a string of the format "M:Namespace.Classname.Methodname(Namespace.TypeOfArg0,Namespace.TypeOfArg1)"

Parameters:
str 
Exceptions:
System.FormatException Thrown if string is of an unknown format.

Reimplemented from wx.NetMacros.MemberDescriptor.

override string wx.NetMacros.MethodDescriptor.ToString (  ) 

Reimplemented from wx.NetMacros.MemberDescriptor.


Property Documentation

MemberDescriptor wx.NetMacros.MethodDescriptor.Generalized [get]

Generalized form without argument list. An unspecific designation of all implementations of the method.

TypeDescriptor [] wx.NetMacros.MethodDescriptor.Signature [get, set]


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