Sdl.Web.Tridion/Providers/Query/BrokerQueryProvider.cs
/// <summary>
/// Sets the keyword filters using a list of keyword uri strings
/// </summary>
/// <param name="keywordUris"></param>
Sets the keyword filters using a list of keyword uri strings
Sets the keyword filters using a list of keyword uri strings
public void SetKeywordFilters(List<String> keywordUris)
        {
            TaxonomyFactory taxonomyFactory = new TaxonomyFactory();
            List<Keyword> keywords = keywordUris.Select(kwUri => taxonomyFactory.GetTaxonomyKeyword(kwUri)).Where(kw => kw != null).ToList();
            SetKeywordFilters(keywords);
        }
public void SetKeywordFilters ( List < String > keywordUris ) { TaxonomyFactory taxonomyFactory = new TaxonomyFactory ( ) ; List < Keyword > keywords = keywordUris . Select ( kwUri => taxonomyFactory . GetTaxonomyKeyword ( kwUri ) ) . Where ( kw => kw != null ) . ToList ( ) ; SetKeywordFilters ( keywords ) ; }
Sets the keyword filters using a list of keyword uri strings
Sets the keyword filters using a list of keyword uri strings
keywordUris
List<String>
None