// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
namespace Microsoft.AspNetCore.Identity
{
///
/// Provides an abstraction for querying roles in a Role store.
///
/// The type encapsulating a role.
public interface IQueryableRoleStore : IRoleStore where TRole : class
{
///
/// Returns an collection of roles.
///
/// An collection of roles.
IQueryable Roles { get; }
}
}