microsoft / WindowsDevicePortalWrapper

A client library that wraps the Windows Device Portal REST APIs.
MIT License
182 stars 87 forks source link

Breaking change: Separate SKU-specific APIs into their own namespaces #240

Open hpsin opened 7 years ago

hpsin commented 7 years ago

E.g. portal.HoloLens.StartMixedRealityCaptureAsync(); This makes using the portal object much simpler to use via Intellisense and clearly delineates which APIs work on which platform.

hpsin commented 7 years ago

244 handles this request, and I've got about half of an implementation that creates a namespace off of the devicePortal object. We will be reaching out to the community for commentary on which version of namespacing (if any) they prefer.

hpsin commented 6 years ago

Proposed API taxonomy for the breaking change.

So code would now look something like:

var portal = new DevicePortal(connectionInfo);
portal.ConnectAsync().Wait();
var apps = portal.AppManagement.GetAppsAsync().Wait();
portal.AppManagement.LaunchApp(apps[0]);