Fix IUserRoleStore docs (#1594)

This commit is contained in:
Robert Miles 2018-01-25 16:40:11 -05:00 committed by Hao Kung
parent 284dded983
commit 5f838208e8
1 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Identity
public interface IUserRoleStore<TUser> : IUserStore<TUser> where TUser : class
{
/// <summary>
/// Add a the specified <paramref name="user"/> to the named role.
/// Add the specified <paramref name="user"/> to the named role.
/// </summary>
/// <param name="user">The user to add to the named role.</param>
/// <param name="roleName">The name of the role to add the user to.</param>
@ -23,7 +23,7 @@ namespace Microsoft.AspNetCore.Identity
Task AddToRoleAsync(TUser user, string roleName, CancellationToken cancellationToken);
/// <summary>
/// Add a the specified <paramref name="user"/> from the named role.
/// Remove the specified <paramref name="user"/> from the named role.
/// </summary>
/// <param name="user">The user to remove the named role from.</param>
/// <param name="roleName">The name of the role to remove.</param>
@ -40,7 +40,7 @@ namespace Microsoft.AspNetCore.Identity
Task<IList<string>> GetRolesAsync(TUser user, CancellationToken cancellationToken);
/// <summary>
/// Returns a flag indicating whether the specified <paramref name="user"/> is a member of the give named role.
/// Returns a flag indicating whether the specified <paramref name="user"/> is a member of the given named role.
/// </summary>
/// <param name="user">The user whose role membership should be checked.</param>
/// <param name="roleName">The name of the role to be checked.</param>
@ -61,4 +61,4 @@ namespace Microsoft.AspNetCore.Identity
/// </returns>
Task<IList<TUser>> GetUsersInRoleAsync(string roleName, CancellationToken cancellationToken);
}
}
}