Title: Object identity, Interfaces and Attributes by rmadsen-ks · Pull Request #2019 · pythonnet/pythonnet · GitHub
Open Graph Title: Object identity, Interfaces and Attributes by rmadsen-ks · Pull Request #2019 · pythonnet/pythonnet
X Title: Object identity, Interfaces and Attributes by rmadsen-ks · Pull Request #2019 · pythonnet/pythonnet
Description: This PR contains multiple improvements: All classes inheriting from a .net class has their own .net type. This means they can be returned and given as arguments without loosing their original identity (and properties). Interfaces can be implemented. Also classes only inheriting interfaces are supported. Attributes can be used in multiple different flavors. Class attributes using e.g @attribute(Browsable(False)), or clr_attributes = [Browsable(False), ...] Method attributes for methods exported to .NET. @attribute(DisplayName("X")) @method() def X(self): pass Property attributes using property(Double,0.0).add_attribute(DisplayName("X") Close #1776, #1774, #1768 Check all those that are applicable and complete. Make sure to include one or more tests for your change If an enhancement PR, please create docs and at best an example Ensure you have signed the .NET Foundation CLA Add yourself to AUTHORS Updated the CHANGELOG
Open Graph Description: This PR contains multiple improvements: All classes inheriting from a .net class has their own .net type. This means they can be returned and given as arguments without loosing their original iden...
X Description: This PR contains multiple improvements: All classes inheriting from a .net class has their own .net type. This means they can be returned and given as arguments without loosing their original iden...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/2019
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:3c6ec161-3af1-f5cc-920e-cdfd6a4bd29a |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 80F0:121D22:271C7D6:34BE079:697046D4 |
| html-safe-nonce | a92c4358f44f24893318e859f49b04aa5ef75bec7b062001142a4d178e689883 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEYwOjEyMUQyMjoyNzFDN0Q2OjM0QkUwNzk6Njk3MDQ2RDQiLCJ2aXNpdG9yX2lkIjoiNzY3MjI1ODQ2MzgyNzc3MzE0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a036269e898bb7d8ac64f4d22ebefdce39395e2e0a57417b9ffcfef82198d3c1 |
| hovercard-subject-tag | pull_request:1127560917 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/pythonnet/pythonnet/pull/2019/checks |
| twitter:image | https://avatars.githubusercontent.com/u/24250062?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/24250062?s=400&v=4 |
| og:image:alt | This PR contains multiple improvements: All classes inheriting from a .net class has their own .net type. This means they can be returned and given as arguments without loosing their original iden... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f643964067a552f02067066d6a910b2f90a5721f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width