xam.package.dependency-testing NuGet Package

Simple test of creating nuget package.

This example prouved that DependencyService works fine with Nuget mechanics (at least on Android devices).

Use case:
Create an empty PCL/Shared project -> Install this package -> In App.cs, replace the line where finds "Text" by "Text=DependencyService.Get<IIdentification>().whoAmI()"->Excute.

Result: (Text appears)
Android - "I am Android."
Windows Phone - "I am Windows Phone."
iOS - "I am iOS."
(For reason that I don't have WP for testing and Mac for compiling, package has only been verified on Android.).




Got any xam.package.dependency-testing Question?





Info

Version: 1.1.7
Author(s): ZENG Yuhao (Enzo)
Last Update: Thursday, November 19, 2015
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/xam.package.dependency-testing


Install
Install-Package xam.package.dependency-testing
dotnet add package xam.package.dependency-testing
paket add xam.package.dependency-testing
xam.package.dependency-testing Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

3074