xamarin-docs icon indicating copy to clipboard operation
xamarin-docs copied to clipboard

Is using DependencyService for regular IoC the recommended approach or not?

Open marwalsch opened this issue 2 years ago • 0 comments

I take the DependencyService is responsible for exposing platform-specific implementations to the client app at runtime.

But can the same container be used to register platform agnostic services just for IoC's sake? The docs don't elaborate on that and there appears to be no alternative given.


Document details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

marwalsch avatar Nov 03 '21 13:11 marwalsch