Пример #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(RoleSetConstraints constraints)
 {
     return(ApplicationIDWrap.KeyValue == constraints.ApplicationIDWrap.KeyValue && ParentIDWrap.KeyValue == constraints.ParentIDWrap.KeyValue);
 }
Пример #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(RoleSetConstraints constraints)
 {
     return ApplicationIDWrap.KeyValue == constraints.ApplicationIDWrap.KeyValue && ParentIDWrap.KeyValue == constraints.ParentIDWrap.KeyValue;
 }