Re: [IronPython] Expose a C# function as a Python function taking a default argument

2007-11-20 Thread Jeff Hardy
Thanks, it worked like a charm! -Jeff On Nov 19, 2007 10:37 AM, Dino Viehland <[EMAIL PROTECTED]> wrote: > You can use either the [Optional] attribute or the > [DefaultParameterValue(null)] attributes on the parameter in the C# signature > to mark the parameter as being optional. And if you're

Re: [IronPython] Expose a C# function as a Python function taking a default argument

2007-11-19 Thread Dino Viehland
You can use either the [Optional] attribute or the [DefaultParameterValue(null)] attributes on the parameter in the C# signature to mark the parameter as being optional. And if you're using a language that's more friendly to default/optional attributes (e.g. VB.NET) you could just use their na