Ejemplo n.º 1
0
 /// <summary>
 /// Is it the same as the input one
 /// </summary>
 /// <param name="constraints">The one to be compared with.</param>
 /// <returns></returns>
 public bool IsTheSameAs(UsersInRoleSetConstraints constraints)
 {
     return RoleIDWrap.KeyValue == constraints.RoleIDWrap.KeyValue && UserIDWrap.KeyValue == constraints.UserIDWrap.KeyValue && AdminIDWrap.KeyValue == constraints.AdminIDWrap.KeyValue;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Is it the same as the input one
 /// </summary>
 /// <param name="constraints">The one to be compared with.</param>
 /// <returns></returns>
 public bool IsTheSameAs(UsersInRoleSetConstraints constraints)
 {
     return(RoleIDWrap.KeyValue == constraints.RoleIDWrap.KeyValue && UserIDWrap.KeyValue == constraints.UserIDWrap.KeyValue && AdminIDWrap.KeyValue == constraints.AdminIDWrap.KeyValue);
 }