Info
Version: | 1.0.0 |
Author(s): | Alexei Safonov |
Last Update: | Sunday, January 8, 2017 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/Aleksey7151/DependencyResolver |
NuGet Url: | https://www.nuget.org/packages/DependenciesResolver |
Install
Install-Package DependenciesResolver
dotnet add package DependenciesResolver
paket add DependenciesResolver
DependenciesResolver Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
- Android
- iOS
1.
Install DependencyResolver to PCL project, that contains platform depended interface TService.
2. Install DependencyResolver to Android/iOS projects.
3.
Add DependencyAttribute to platform specific implementation of TService in each project Android/iOS
4. Use 'TService instance = Resolver.Get[TService]();' function in your PCL project for getting platform specific implementation of TService at runtime.