Ejemplo n.º 1
0
 /// <summary>
 /// Loads the app listing information asynchronously, returning features
 /// and products in the ProductListings collection that match all supplied keywords.
 /// </summary>
 /// <param name="keywords">
 /// The list of keywords by which to filter the ProductListings
 /// collection that is returned in the ListingInformation object.
 /// </param>
 /// <returns>
 /// The app's listing information, with ProductListings collection filtered by keywords. If the method fails, it
 /// returns an HRESULT error code. If no products or features are found that match all of the given keywords, the
 /// ProductListings collection will be empty.
 /// </returns>
 public static IAsyncOperation <ListingInformation> LoadListingInformationByKeywordsAsync(
     IEnumerable <string> keywords)
 {
     return(IsMockEnabled
         ? CurrentAppSimulator.LoadListingInformationByKeywordsAsync(keywords)
         : CurrentApp.LoadListingInformationByKeywordsAsync(keywords));
 }