/// <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; }
/// <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); }