protected internal virtual void OnPerformAction(ABPeoplePickerPerformActionEventArgs e) { var h = EnsureEventDelegate <InternalABPeoplePickerNavigationControllerDelegate> ().performAction; if (h != null) { h(this, e); } }
public override bool ShouldContinue(ABPeoplePickerNavigationController peoplePicker, ABPerson selectedPerson, int propertyId, int identifier) { ABPersonProperty property = ABPersonPropertyId.ToPersonProperty(propertyId); int?id = identifier == ABRecord.InvalidPropertyId ? null : (int?)identifier; var e = new ABPeoplePickerPerformActionEventArgs(selectedPerson, property, id); peoplePicker.OnPerformAction(e); return(e.Continue); }