[Mono-osx] Statics and Singletons with Dumbarton [Solved with patch]

Allan Hsu allan at counterpop.net
Tue Jan 2 16:34:00 EST 2007


On Jan 2, 2007, at 4:32 AM, R. Tyler Ballance wrote:
[...]
>
> Allan (or whomever it may concern) let me know if I need to fix  
> anything or change some patches to allow this to be committed to  
> subversion. I was wondering if I should just be using  
> DBMonoClassRepresentation, but the examples use  
> DBMonoObjectRepresentation, so I have assumed that it is the  
> "defacto standard" for bridging C#->Cocoa objects

As I mentioned in my last email (sorry again for the delay), the  
current solution is to use DBMonoClassRepresentation for this, though  
I'm not opposed to adding the sort of convenience methods you want to  
DBMonoObjectRepresentation. The patch looks fine except that it lacks  
field access and I would prefer the word "Class" where you have used  
"Static", to stay consistent with nomenclature used elsewhere in  
Dumbarton.

If you could make those changes, I'd be happy to check in your patch.

Also, please don't assume that the examples are standard in any  
way... they're fairly incomplete as they are right now and mostly  
just give people an idea of what they're in for... :)

	-Allan

--
Allan Hsu <allan at counterpop dot net>
1E64 E20F 34D9 CBA7 1300  1457 AC37 CBBB 0E92 C779




More information about the Mono-osx mailing list