protected override bool InternalTryGetValue(ABPropertyDefinition property, out object value) { ADPropertyDefinition adpropertyDefinition = ADABPropertyMapper.GetADPropertyDefinition(property); if (adpropertyDefinition != null) { return(this.rawEntry.TryGetValueWithoutDefault(adpropertyDefinition, out value)); } ADABObjectId adabobjectId; if (property == ABObjectSchema.Id && ADABUtils.GetId(this.rawEntry, out adabobjectId)) { value = adabobjectId; return(true); } string text; if (property == ABObjectSchema.EmailAddress && ADABUtils.GetEmailAddress(this.rawEntry, out text)) { value = text; return(true); } object obj; if (property == ABObjectSchema.CanEmail && this.rawEntry.TryGetValueWithoutDefault(ADRecipientSchema.RecipientType, out obj)) { value = ADABUtils.CanEmailRecipientType((RecipientType)obj); return(true); } if (property == ABGroupSchema.MembersCount) { value = null; return(true); } ADABObjectId adabobjectId2; if (property == ABGroupSchema.OwnerId && ADABUtils.GetOwnerId(this.rawEntry, out adabobjectId2)) { value = adabobjectId2; return(true); } return(base.InternalTryGetValue(property, out value)); }
// Token: 0x06000953 RID: 2387 RVA: 0x00036BED File Offset: 0x00034DED protected override bool GetCanEmail() { return(ADABUtils.CanEmailRecipientType(this.recipient.RecipientType)); }