Пример #1
0
 private void UpdatePresentFields(MappedPrincipalFields field, bool isPresent)
 {
     if (isPresent)
     {
         this.presentFields |= field;
         return;
     }
     this.presentFields &= ~field;
 }
Пример #2
0
 public bool HasField(MappedPrincipalFields field)
 {
     return((this.presentFields & field) != MappedPrincipalFields.None);
 }