jbienzms / iot-devices

Helper library for interfacing with devices in IoT projects.
45 stars 17 forks source link

Refactor refractor #5

Closed mjmeans closed 8 years ago

mjmeans commented 8 years ago

This is based on our discussions. and goes back a little towards my original PR, by making only the ControllerProvider internal. That way the ControllerProvider methods and properties never show up in intellisense.

mjmeans commented 8 years ago

So this also exposes GetControllers on the provider to intellisense. Works the same as your design, but strictly prevents such things as ((IPwmControllerProvider)pca9685).EnablePin(int).

jbienzms commented 8 years ago

Thanks again for the heartfelt and passionate discussion via e-mail. For now I'm going to close this request.