/// <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(UserGroupAdminRoleSetConstraints constraints) { return GroupIDWrap.KeyValue == constraints.GroupIDWrap.KeyValue && RoleIDWrap.KeyValue == constraints.RoleIDWrap.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(UserGroupAdminRoleSetConstraints constraints) { return(GroupIDWrap.KeyValue == constraints.GroupIDWrap.KeyValue && RoleIDWrap.KeyValue == constraints.RoleIDWrap.KeyValue); }