// Token: 0x0600020C RID: 524 RVA: 0x000080E7 File Offset: 0x000062E7 internal static CamlQuery CreateCamlDataQuery(string location, AttachmentItemsSort sort) { return(OneDriveProUtilities.CreateCamlQuery(location, null, string.Format("<View>\r\n <Query>\r\n <OrderBy>\r\n <FieldRef Name='FSObjType' Ascending='FALSE' />\r\n <FieldRef Name='{0}' Ascending='{1}' />\r\n </OrderBy>\r\n </Query>\r\n <ViewFields>\r\n <FieldRef Name='ID' />\r\n <FieldRef Name='FileLeafRef' />\r\n <FieldRef Name='FSObjType' />\r\n <FieldRef Name='FileRef' />\r\n <FieldRef Name='File_x0020_Size' />\r\n <FieldRef Name='Modified' />\r\n <FieldRef Name='Editor' />\r\n <FieldRef Name='ItemChildCount' />\r\n <FieldRef Name='FolderChildCount' />\r\n <FieldRef Name='ProgId' />\r\n </ViewFields></View>", OneDriveProUtilities.GetSortColumn(sort.SortColumn), OneDriveProUtilities.GetSortOrder(sort.SortOrder)))); }
// Token: 0x06000216 RID: 534 RVA: 0x000086F5 File Offset: 0x000068F5 private static CamlQuery CreatePagedCamlQuery(string location, AttachmentItemsSort sort, ListItemCollectionPosition listItemCollectionPosition, int numberOfItems, string viewXmlFormat) { return(OneDriveProUtilities.CreateCamlQuery(location, listItemCollectionPosition, string.Format(viewXmlFormat, OneDriveProUtilities.GetSortColumn(sort.SortColumn), OneDriveProUtilities.GetSortOrder(sort.SortOrder), numberOfItems))); }