public FilterItem Clone()
 {
     return(FilterItem.Create(EntitiesCount, Name, FilterCriteria, ImageUri, ShowEntityCount));
 }
 public FilterItem Clone(string name, string imageUri)
 {
     return(FilterItem.Create(EntitiesCount, name, FilterCriteria, imageUri, ShowEntityCount));
 }
 FilterItem CreateFilterItem(string name, CriteriaOperator filterCriteria, string imageUri, bool showEntityCount)
 {
     return(FilterItem.Create(GetEntityCount(filterCriteria), name, filterCriteria, imageUri, showEntityCount));
 }