[Mono-bugs] [Bug 656171] NSSet is missing AllObjects

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 27 13:04:30 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=656171

https://bugzilla.novell.com/show_bug.cgi?id=656171#c2


--- Comment #2 from Mike Bluestein <mike.bluestein at gmail.com> 2010-11-27 18:04:29 UTC ---
(In reply to comment #1)
> The method we exposed is "ToArray<T>"
> 
> So you can do:
> 
> var objects = NSSet.ToArray<NSObject> ()
> 
> or if you have a more descriptive type:
> 
> var views = NSSet.ToArray<NSView> ()

Ah, nice. Thanks!

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list