public HasRoleRequirement(string role) { Role = role ?? throw new ArgumentNullException(nameof(role)); } }