/// <summary> /// Contains contract definitions, not for actual use. /// </summary> Task <User[]> IUserManager.GetUsersAsync(UserCollectionParameters collectionRequest) { Contract.Requires <ArgumentNullException>(collectionRequest != null); return(null); }
/// <summary> /// Gets a filtered list of <see cref="User"/>s that match the specified criteria. /// </summary> /// <param name="filter">A collection of parameters to filter by.</param> /// <returns>A collection of <see cref="User"/>s that match the criteria.</returns> public Task <User[]> GetUsersAsync(UserCollectionParameters filter) { return(this.client.GetAsync <User[]>((UserCollectionDto)filter)); }