obs-websocket-dotnet icon indicating copy to clipboard operation
obs-websocket-dotnet copied to clipboard

Added interface to wrap ObsWebsocket implementation

Open grofit opened this issue 3 years ago • 1 comments

This allows downstream consumers to mock the object easier, also makes it clearer in one place what the implementation exposes due to the partials splitting it out lots.

If you don't want it no problem, only downside of having it is that if you update any sigs in the implementation they also need to be updated in the interface, but tbh with resharper or rider its a 2 second job to export interface => select public and it would regenerate.

grofit avatar Sep 19 '22 14:09 grofit

I mentioned this on #99 I think, so its optional but it may help others given it puts a proxyable interface between everything for AOP/Mocking purposes.

grofit avatar Sep 19 '22 14:09 grofit