private void UpdatePresentFields(MappedPrincipalFields field, bool isPresent) { if (isPresent) { this.presentFields |= field; return; } this.presentFields &= ~field; }
public bool HasField(MappedPrincipalFields field) { return((this.presentFields & field) != MappedPrincipalFields.None); }