// Token: 0x06001DE1 RID: 7649 RVA: 0x000AD2A4 File Offset: 0x000AB4A4 protected override IListViewDataSource CreateDataSource(Hashtable properties) { if (this.IsContactView) { return(new FolderListViewDataSource(base.UserContext, properties, this.folder, this.GetSortByProperties(), this.filter)); } if (string.IsNullOrEmpty(this.searchString)) { if (string.IsNullOrEmpty(this.cookie)) { return(ADListViewDataSource.CreateForBrowse(properties, this.addressBookBase, base.UserContext)); } return(ADListViewDataSource.CreateForBrowse(properties, this.addressBookBase, this.cookie, this.cookieLcid, this.preferredDC, base.UserContext)); } else { if (string.IsNullOrEmpty(this.cookie)) { return(ADListViewDataSource.CreateForSearch(properties, this.addressBookBase, this.searchString, base.UserContext)); } return(ADListViewDataSource.CreateForSearch(properties, this.addressBookBase, this.searchString, this.cookie, this.cookieIndex, this.cookieLcid, this.preferredDC, base.UserContext)); } }
// Token: 0x06001DE9 RID: 7657 RVA: 0x000AD6A2 File Offset: 0x000AB8A2 public static ADListViewDataSource CreateForSearch(Hashtable properties, AddressBookBase addressBookBase, string searchString, UserContext userContext) { return(ADListViewDataSource.CreateForSearch(properties, addressBookBase, searchString, null, 0, Culture.GetUserCulture().LCID, null, userContext)); }