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

Allow for not throwing not initialized exception on designer builds #196

Open
Keboo opened this issue Nov 30, 2022 · 0 comments
Open

Allow for not throwing not initialized exception on designer builds #196

Keboo opened this issue Nov 30, 2022 · 0 comments

Comments

@Keboo
Copy link
Owner

Keboo commented Nov 30, 2022

Create a user control similar to the following:

public MyUserControl() : this(null!) { }

public MyUserControl([Dependency] IService service) { }

Right now, design builds fail. It would be nice if this didn't happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant