Sign In
Haibo Luo's weblog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
DynamicMethod
IronPython
IronRuby
Miscellaneous
Pages
Reflection
Reflection.Emit
VisualStudio
Archive
Archives
April 2010
(1)
March 2008
(5)
October 2007
(6)
September 2007
(3)
August 2007
(1)
November 2006
(7)
October 2006
(2)
August 2006
(1)
July 2006
(1)
April 2006
(1)
February 2006
(2)
January 2006
(2)
November 2005
(2)
October 2005
(2)
September 2005
(2)
August 2005
(3)
October, 2007
MSDN Blogs
>
Haibo Luo's weblog
>
October, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Haibo Luo's weblog
IronPython: Accessing the .NET Field
Posted
over 5 years ago
by
Haibo Luo - MSFT
0
Comments
The .NET libraries normally do not expose the public field, but we can still find its' presence for certain scenarios. IronPython treats the .NET fields like python attribute. For python attribute, the typical operations are set, get and delete. In general...
Haibo Luo's weblog
VisualStudio as my IronPython editor
Posted
over 5 years ago
by
Haibo Luo - MSFT
9
Comments
The following steps are what I did to get Visual Studio ready as my IronPython (and IronRuby) editor. Install the latest internal dogfood build of Visual Studio 2008. you may use Visual Studio 2005 or download the VS 2008 public beta2 ; ...
Haibo Luo's weblog
IronPython: explicitly choose one method
Posted
over 5 years ago
by
Haibo Luo - MSFT
0
Comments
C# allows method overloading. Given an argument list, the compiler performs the overload resolution to select the best method to invoke. The chosen method token is baked into the assembly. IronPython does the method resolution at the IronPython run time...
Haibo Luo's weblog
IronPython: Provide (or not) Argument for by-ref Parameter
Posted
over 5 years ago
by
Haibo Luo - MSFT
1
Comments
Python function may return multiple objects as a tuple. The .NET method can only return one object as the result of a call; in order to return more than one objects, by-ref parameters are needed. They are decorated with the parameter modifier (ref, out...
Haibo Luo's weblog
IronPython: Keyword Argument to Set .NET Property/Field
Posted
over 5 years ago
by
Haibo Luo - MSFT
0
Comments
Use keyword arguments to set properties or fields… you likely ask the question: where can we do this? IronPython allows it in the constructor call, the call against the .NET type. Such keyword should be the name of public field, or property (which is...
Haibo Luo's weblog
IronPython: Passing Arguments for a Call
Posted
over 5 years ago
by
Haibo Luo - MSFT
0
Comments
After getting a CLR type, we can play it like a python type. We can get the class/static methods using the dot operator ("attribute reference") on the type, or create an instance of it and then get the instance methods. In Python’s word, these methods...
Page 1 of 1 (6 items)