1783 Implement Interface And Inherit Class by rmadsen-ks · Pull Request #2028 · pythonnet/pythonnet

@rmadsen-ks mentioned this pull request

Nov 29, 2022

5 tasks

lostmsu

lostmsu

Added support for multiple inheritance when inheriting from one base class and/or multiple interfaces.

Added a unit test verifying that it works with a simple class and interface. This unit test would previously have failed since multiple types are in the class super class list.

@rmadsen-ks

- Added exceptions during unintended use of superclasses.
- Removed invalid comment.
- Improved exceptions from MetaType slightly.

elan-ajain pushed a commit to elancapital/pythonnet that referenced this pull request

Feb 17, 2023
* 1783 Implement Interface And Inherit Class

Added support for multiple inheritance when inheriting from one base class and/or multiple interfaces.

Added a unit test verifying that it works with a simple class and interface. This unit test would previously have failed since multiple types are in the class super class list.