示例#1
0
 public bool IsInRole(AccountRole role)
 {
     return(_roles.Matches(role));
 }
示例#2
0
 public bool Matches(AccountRole other)
 {
     return(RoleName == other.RoleName);
 }