コード例 #1
0
 public static webModel.Facet ToWebModel(this coreModel.FacetGroup facetGroup, params string[] appliedFilters)
 {
     var retVal = new webModel.Facet
                  {
                      FacetType = facetGroup.FacetType,
                      Field = facetGroup.FieldName,
                      Values = facetGroup.Facets.Select(f => f.ToWebModel(appliedFilters)).ToArray()
                  };
     return retVal;
 }
コード例 #2
0
        public static webModel.Facet ToWebModel(this coreModel.FacetGroup facetGroup, params string[] appliedFilters)
        {
            var retVal = new webModel.Facet
            {
                FacetType = facetGroup.FacetType,
                Field     = facetGroup.FieldName,
                Values    = facetGroup.Facets.Select(f => f.ToWebModel(appliedFilters)).ToArray()
            };

            return(retVal);
        }