Ejemplo n.º 1
0
        public override bool ShouldPerformDefaultActionForPerson(ABPersonViewController personViewController, IntPtr personId, int propertyId, int identifier)
        {
            ABPerson person = personId == IntPtr.Zero ? null : new ABPerson(personId, personViewController.AddressBook);
#endif
            ABPersonProperty property = ABPersonPropertyId.ToPersonProperty(propertyId);
            int?id = identifier == ABRecord.InvalidPropertyId ? null : (int?)identifier;

            var e = new ABPersonViewPerformDefaultActionEventArgs(person, property, id);
            personViewController.OnPerformDefaultAction(e);
            return(e.ShouldPerformDefaultAction);
        }
Ejemplo n.º 2
0
		public override bool ShouldPerformDefaultActionForPerson (ABPersonViewController personViewController, IntPtr personId, int propertyId, int identifier)
		{
			ABPerson person = personId == IntPtr.Zero ? null : new ABPerson (personId, personViewController.AddressBook);
#endif
			ABPersonProperty property = ABPersonPropertyId.ToPersonProperty (propertyId);
			int? id = identifier == ABRecord.InvalidPropertyId ? null : (int?) identifier;
			
			var e = new ABPersonViewPerformDefaultActionEventArgs (person, property, id);
			personViewController.OnPerformDefaultAction (e);
			return e.ShouldPerformDefaultAction;
		}
Ejemplo n.º 3
0
 public override bool ShouldPerformDefaultActionForPerson(ABPersonViewController personViewController, ABPerson person, int propertyId, int identifier)
 {
Ejemplo n.º 4
0
		public override bool ShouldPerformDefaultActionForPerson (ABPersonViewController personViewController, ABPerson person, int propertyId, int identifier)
		{