wx.NetMacros.MemberDescriptor Class Reference

Inheritance diagram for wx.NetMacros.MemberDescriptor:


List of all members.

Public Member Functions

virtual int CompareTo (object obj)
override bool Equals (object obj)
override int GetHashCode ()
virtual string GetNameInClass ()
System.Xml.Schema.XmlSchema GetSchema ()
 MemberDescriptor (MethodInfo mi)
 MemberDescriptor (PropertyInfo pi)
 MemberDescriptor (ConstructorInfo ci)
 MemberDescriptor (MemberType membertype, TypeDescriptor type, string membername)
 MemberDescriptor ()
void ReadXml (System.Xml.XmlReader reader)
override string ToString ()
void WriteXml (System.Xml.XmlWriter writer)

Static Public Member Functions

static MemberDescriptor Parse (string str)

Protected Member Functions

virtual void SetFromString (string str)


TypeDescriptor DeclaringType [get, set]
string FullName [get]
MemberType Membertype [get, set]
string Name [get, set]

Detailed Description

Instances of this class combine a TypeDescriptor with an additional member name. Instances will be used to designate members of classes, properties or methods.

Constructor & Destructor Documentation

wx.NetMacros.MemberDescriptor.MemberDescriptor (  ) 

Default ctor creating a reference to the member Name of this class. This is a dummy that will be used be deserialization.

wx.NetMacros.MemberDescriptor.MemberDescriptor ( MemberType  membertype,
TypeDescriptor  type,
string  membername 

Creates an instance of the specified properties.

membertype The type of member (method or property)
type The type declaring the member.
membername the name of the member.

wx.NetMacros.MemberDescriptor.MemberDescriptor ( ConstructorInfo  ci  ) 

Creates an instance designating the provided constructor.

ci Information on a constructor.

wx.NetMacros.MemberDescriptor.MemberDescriptor ( PropertyInfo  pi  ) 

Creates an instance designating the provided property.

pi Information on a property

wx.NetMacros.MemberDescriptor.MemberDescriptor ( MethodInfo  mi  ) 

Creates an instance designating the provided method.

mi Information on a method

Member Function Documentation

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

Reimplemented in wx.NetMacros.MethodDescriptor.

override bool wx.NetMacros.MemberDescriptor.Equals ( object  obj  ) 

override int wx.NetMacros.MemberDescriptor.GetHashCode (  ) 

virtual string wx.NetMacros.MemberDescriptor.GetNameInClass (  )  [virtual]

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


Reimplemented in wx.NetMacros.MethodDescriptor.

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

static MemberDescriptor wx.NetMacros.MemberDescriptor.Parse ( string  str  )  [static]

This will parse strings of the form "M:Namespace.ClassName.MemberName".

str The properties of the returned instance as string.

Reimplemented in wx.NetMacros.MethodDescriptor.

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

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

Parses a string and sets the properties of this instance accordingly.

str A string like "T:wx.Object" or "wx.Object".

Reimplemented in wx.NetMacros.MethodDescriptor.

override string wx.NetMacros.MemberDescriptor.ToString (  ) 

Reimplemented in wx.NetMacros.MethodDescriptor.

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

Property Documentation

TypeDescriptor wx.NetMacros.MemberDescriptor.DeclaringType [get, set]

string wx.NetMacros.MemberDescriptor.FullName [get]

MemberType wx.NetMacros.MemberDescriptor.Membertype [get, set]

string wx.NetMacros.MemberDescriptor.Name [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