[IronPython] DocString for properties
Steve Baer
steve at mcneel.com
Thu Mar 4 03:59:44 CET 2010
Hi guys,
I've been struggling with getting at the documentation string for a static
property defined in one of my C# classes from IronPython.
Say my C# class had a public static property that returned an int.
public class MyClass
{
///<summary>My property summary</summary>
public static int MyProperty{ get{return 1;} }
}
If I use the following python script to call help, I get help information on
the int data type (I can understand why this is happening).
help( MyLib.MyClass.MyProperty )
Thanks,
-Steve
More information about the Ironpython-users
mailing list