private List <KeyValuePair <String, String> > AppendItemQueryString(String itemPath, Guid scopeIdentifier, Boolean includeDownloadTickets = false, Boolean isShallow = false) { List <KeyValuePair <String, String> > collection = new List <KeyValuePair <String, String> >(); if (!String.IsNullOrEmpty(itemPath)) { itemPath = FileContainerItem.EnsurePathFormat(itemPath); collection.Add(QueryParameters.ItemPath, itemPath); } if (includeDownloadTickets) { collection.Add(QueryParameters.includeDownloadTickets, "true"); } if (isShallow) { collection.Add(QueryParameters.isShallow, "true"); } collection.Add(QueryParameters.ScopeIdentifier, scopeIdentifier.ToString()); return(collection); }