[Mono-devel-list] Marking the GDIPlus class as internal (as opposed to public)

Ravindra rkumar at novell.com
Fri Feb 6 08:17:35 EST 2004


Hi Duncan,
On Fri, 2004-02-06 at 05:29, Duncan Mak wrote:
> Right now, the GDIPlus class in gdipFunction.cs is marked as public. Is
> there a reason for that? Do we need to expose anything public that is in
> that class? It seems like its main use is a storage container for
> internal static wrapper methods to hook onto P/Invoke. If there is a
> need for some method in that class, would it make sense to keep GDIPlus
> only for the P/Invoke functions and create a new class to house those
> other methods?
I agree with your thoughts. I think it is good idea to mark GDIPlus as
internal class. Also, I'm concerned about the size of gdipFunctions.cs
(pointed out by you in other mail). We need to do something about it. In
my opinion, this class can be used to house the commonly used functions
and we should have separate internal classes to house internal static
wrapper methods used by each and every class of S.D. However, I'm OK to
house static wrapper methods used by abstract classes in there.

Regards,
Ravindra




More information about the Mono-devel-list mailing list