jason-roberts / FeatureToggle

Simple, reliable feature toggles in .NET
http://dontcodetired.com/blog/?tag=/featuretoggle
Apache License 2.0
689 stars 111 forks source link

Implement a base class for feature toggles #103

Open nlunn opened 8 years ago

nlunn commented 8 years ago

Here we should implement ToggleValueProvider, to make it possible to change the provider only one place for all toggles.

waynebrantley commented 8 years ago

What about just use dependency injection to wire it all up instead of base classes ?

nlunn commented 8 years ago

So what you mean is that the toggleValueProvider is given in the constructor.... that is also a good option. :)