Equip 3rd party types with a deconstructor #101
Replies: 2 comments 2 replies
-
|
Yeah I love this. It would be nice if it worked like in JavaScript where you don't have to specify every variable. Sure you can use a discard character, but that's just messy for long props. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Do you need ideas for future blogs? Here's one: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Equip 3rd party types with a deconstructor
Deconstructor are a C# language feature that allows you to define a method that will be called when an object is being split up into its components. While this is straightforward to implement for your own types, it is not possible to add a deconstructor to a 3rd party type - or is it?
https://steven-giesel.com/blogPost/0775d3d3-8f90-4546-95d8-71a6b1e7b0e8/equip-3rd-party-types-with-a-deconstructor
Beta Was this translation helpful? Give feedback.
All reactions