public HasRoleRequirement ( string role ) : Microsoft.AspNetCore.Authorization | ||
role | string | |
return | Microsoft.AspNetCore.Authorization |
public HasRoleRequirement(string role)
{
Role = role ?? throw new ArgumentNullException(nameof(role));
}
}