Re: [Python.NET] Using a List<Enum> with Pythonnet
Denis Akhiyarov <[email protected]> Sat, 20 May 2017 16:50:55 +0000
| Newsgroups | gmane.comp.python.dotnet |
|---|---|
| Message-ID | <CALxxJLQhYbyXfG3ZcKCvgypNAvzc5pUh8VFNyoAguNgnEDBFXw@mail.gmail.com> |
It looks like you figured out the issue based on update in stackoverflow. On Sat, May 20, 2017, 11:30 AM Matt Slezak via PythonDotNet < [email protected]> wrote: > I have not been able to figure out this issue - I have a C# DLL that > requires a List<Enum> to be populated but it appears Pythonnet returns the > integer value of the Enum which does not agree with the List<Enum> > datatype. My question is posted here: PythonNET - how to put an Enum > into a List? C# NET Python > <http://stackoverflow.com/questions/44078042/pythonnet-how-to-put-an-enum-into-a-list-c-sharp-net-python> I > believe there is some kind of workaround from other posts on StackExchange > but I can't replicate that workaround. Any help would be greatly > appreciated. > > PythonNET - how to put an Enum into a List? C# NET Python > I have a NET library I'm using from Python with PythonNET and can't figure > out how to put an enum into a... > > <http://stackoverflow.com/questions/44078042/pythonnet-how-to-put-an-enum-into-a-list-c-sharp-net-python> > > _________________________________________________ > Python.NET mailing list - [email protected] > https://mail.python.org/mailman/listinfo/pythondotnet > _________________________________________________ Python.NET mailing list - [email protected] https://mail.python.org/mailman/listinfo/pythondotnet