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

Mark Scope's default constructor obsolete #701

dotnetjunkie opened this issue May 1, 2019 · 0 comments


None yet
1 participant
Copy link

commented May 1, 2019

The SimpleInjector.Scope class contains two public constructors: the default, and one that accepts a Container instance.

A Scope, however, should always ber accociated with a Container and some parts of the library actually depend on the availability of a Container. It would, therefore, be a good idea to mark the default constructor obsoleted (with error: false).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.