Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variant: create variant that holds a variant #302

Open
tmds opened this issue Sep 12, 2024 · 0 comments
Open

Variant: create variant that holds a variant #302

tmds opened this issue Sep 12, 2024 · 0 comments

Comments

@tmds
Copy link
Owner

tmds commented Sep 12, 2024

The D-Bus spec allows a variant to contain another variant. This is not a common use-case.

This issue is for adding support to represent these wrapped variants using the Tmds.DBus.Protocol.Variant type.

Adding a public constructor may be confusing because the user may expect copy value semantics.

Proposed API:

struct Variant
{
  public static Variant WrapVariant(Variant variant);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant