public static LPConversationEntity[] GetConversations(this LPBrandEntity This, NSPredicate predicate) { return(NSArray.ArrayFromHandle <LPConversationEntity>(global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("getConversations:"), predicate == null ? IntPtr.Zero : predicate.Handle))); }
public static LPConversationEntity CreateNewConversation(this LPConversationEntity This, LPBrandEntity brand) { if (brand == null) { throw new ArgumentNullException("brand"); } return(Runtime.GetNSObject <LPConversationEntity> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle("createNewConversation:"), brand.Handle))); }