[Mono-devel-list] Marking the GDIPlus class as internal (as opposed to public)
jordi at ximian.com
Fri Feb 6 01:19:51 EST 2004
En/na Duncan Mak ha escrit:
> 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?
They should be internal. Also, System.Windows.Forms.Win32_WineLess and
System.Windows.Forms.Win32 and any other class that encapsulates
internal implementations should be internal also.
I do not see any reason to keep them public.
More information about the Mono-devel-list