[Python.NET] Re: Is it possible to check if a .NET class is a subclass of another .NET class

2020-05-19 Thread gregor . hd
Hi, is this what you mean? >>> import clr >>> from System import Object >>> from System.Collections.Generic import List >>> List.__class__.__subclasscheck__(Object,List) True HTH, Gregor Am Mi., 20. Mai 2020 um 01:48 Uhr schrieb : > In python I can check the inheritance via isinstance() (and i

[Python.NET] TypeError for argument type IList

2020-04-11 Thread gregor . hd
Hi, I'm new to Python for .NET and to this mailing list. From the search results to my question I see I'm not the first person with my problem, yet the solution still evades me. When using the following function without AuxParameters everything works fine bool CalculateResult(string resultName,