/// <summary> /// Asynchronously retrieves a collection of installed applications. /// </summary> /// <param name="args"> /// Specification of the collection of applications to retrieve. /// </param> /// <returns> /// An object representing the collection of installed applications /// specified by <see cref="args"/>. /// </returns> /// <remarks> /// This method uses the <a href="http://goo.gl/iiCmcY">GET apps/local</a> /// endpoint to construct the <see cref="ApplicationCollection"/> object /// it returns. /// </remarks> public async Task<ApplicationCollection> GetApplicationsAsync(ApplicationCollectionArgs args = null) { var collection = new ApplicationCollection(this.Context, this.Namespace, args); await collection.GetAsync(); return collection; }
internal ApplicationCollection(Context context, Namespace @namespace, ApplicationCollectionArgs args = null) : base(context, @namespace, ClassResourceName, args) { }