Closed ShortDevelopment closed 5 months ago
That's a nice QoL feature, coming soon :tm: The upstream Tmds.DBus.Protocol released with an "official" way of dealing with Variants, so the next version will have the current one replaced, no worries about breaking chances since there will be enough of them anyway. Zero versioning has its advantages.
Implemented with https://github.com/affederaffe/Tmds.DBus.SourceGenerator/commit/8d6ae47a7dd3a165265805547e2382d892910137. Note that the CI currently fails because Tmds.DBus.Protocol 16.1 hasn't been published yet on NuGet.
Completed with the release of 0.016 on NuGet, see https://www.nuget.org/packages/Tmds.DBus.SourceGenerator/0.0.16.
Proposal
It would be nice to set properties on an object directly instead of using the
BackingProperties
property as a proxy. To prevent conflicts, you could implementIMethodHandler
explicitly. This would have the added "benefit" of hiding the implementation detail ofIMethodHandler
.Implications
Major breaking changes.