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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 27 11:59:34 EST 2010



Miguel de Icaza <miguel at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |miguel at novell.com
         Resolution|                            |INVALID

--- Comment #1 from Miguel de Icaza <miguel at novell.com> 2010-11-27 16:59:33 UTC ---
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> ()

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