P
Peter Judge
Guest
In addition to Mike’s comments: you can’t require the Instance property to be there since static members cannot be part of an interface (so you rely on doc or tribal knowledge, which is ok-ish). You can hide the instantiation inside the Instance property’s gettier (and call a service manager etc) but at that point the static property is just a wrapper and you should (IMO) be calling the Service Manager (IOC container/what have you) directly.
Continue reading...
Continue reading...