[Gtk-sharp-list] assembly initialization
Vladimir Vukicevic
vladimir@pobox.com
Wed, 19 May 2004 16:34:33 -0700
Hmm.. after talking to Mike on irc a few days ago and reading his blog
post, why can't we use static constructors to accomplish the
initialization? Something like:
internal class GtkHtmlSharpInitializer {
static GtkHtmlSharpInitializer() {
/* register GTypes, etc. */
}
}
This is essentially what the "assembly initializer" would be doing
anyway; that static constructor will get called when the assembly is
first loaded.
- Vlad