示例#1
0
 public IList <ArchiveListItem> GetItems(ArchiveQueryParameters parameters, int maxItems, int page)
 {
     this.Parameters = parameters;
     this.MaxItems   = maxItems;
     this.Page       = page;
     return(new List <ArchiveListItem>());
 }
        private ArchiveQueryParameters createDummyQueryParameters(int pageSize)
        {
            var parameters = new ArchiveQueryParameters();

            parameters.PageSize = pageSize;
            parameters.RequestedColumns.Add("column1");
            parameters.Restrictions.Add(new ArchiveRestrictionInfo {
                Name = "column1", Operator = "equals", Values = new[] { "value1" }
            });
            return(parameters);
        }