Inheritance: IFilterRepository
        private static IFilterRepository CreateFilterRepository(FilterValueCollection included, FilterValueCollection excluded)
        {
            var ret = new FilterRepository();

            if (included != null)
            {
                foreach (FilterValueElement item in included)
                {
                    if (!string.IsNullOrWhiteSpace(item.Name))
                    {
                        ret.Included.Add(item.Name);
                    }
                }
            }
            if (excluded != null)
            {
                foreach (FilterValueElement item in excluded)
                {
                    if (!string.IsNullOrWhiteSpace(item.Name))
                    {
                        ret.Excluded.Add(item.Name);
                    }
                }
            }
            return(ret);
        }
 private static IFilterRepository CreateFilterRepository(FilterValueCollection included, FilterValueCollection excluded)
 {
     var ret = new FilterRepository();
     if (included != null)
     {
         foreach (FilterValueElement item in included)
         {
             if (!string.IsNullOrWhiteSpace(item.Name))
             {
                 ret.Included.Add(item.Name);
             }
         }
     }
     if (excluded != null)
     {
         foreach (FilterValueElement item in excluded)
         {
             if (!string.IsNullOrWhiteSpace(item.Name))
             {
                 ret.Excluded.Add(item.Name);
             }
         }
     }
     return ret;
 }