File: IQueryableUserStore.cs
Web Access
Project: src\src\Identity\Extensions.Core\src\Microsoft.Extensions.Identity.Core.csproj (Microsoft.Extensions.Identity.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Linq;
 
namespace Microsoft.AspNetCore.Identity;
 
/// <summary>
/// Provides an abstraction for querying users in a User store.
/// </summary>
/// <typeparam name="TUser">The type encapsulating a user.</typeparam>
public interface IQueryableUserStore<TUser> : IUserStore<TUser> where TUser : class
{
    /// <summary>
    /// Returns an <see cref="IQueryable{T}"/> collection of users.
    /// </summary>
    /// <value>An <see cref="IQueryable{T}"/> collection of users.</value>
    IQueryable<TUser> Users { get; }
}