Ejemplo n.º 1
0
 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)));
 }
Ejemplo n.º 2
0
 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)));
 }