Sdl.Web.Tridion/Providers/Query/BrokerQueryProvider.cs
/// <summary>
/// Gets a list of keyword objects based on their URIs
/// </summary>
/// <param name="keywordUris"></param>
/// <returns></returns>
Gets a list of keyword objects based on their URIs
Gets a list of keyword objects based on their URIs
public static List<Keyword> LoadKeywords(List<string> keywordUris)
        {
            TaxonomyFactory taxonomyFactory = new TaxonomyFactory();
            return keywordUris.Select(uri => taxonomyFactory.GetTaxonomyKeyword(uri)).Where(kw => kw != null).ToList();
        }
public static List < Keyword > LoadKeywords ( List < string > keywordUris ) { TaxonomyFactory taxonomyFactory = new TaxonomyFactory ( ) ; return keywordUris . Select ( uri => taxonomyFactory . GetTaxonomyKeyword ( uri ) ) . Where ( kw => kw != null ) . ToList ( ) ; }
Gets a list of keyword objects based on their URIs
Gets a list of keyword objects based on their URIs
None
keywordUris
List<string>
None