Back to list
Views:   5.1K
Replies:  0
Archived

Sealing a "Culture" in .NET

Hiya folks,

At my job, we need to ensure that our dll runs in a given culture, for example: 
System.Threading.Thread.CurrentThread.CurrentCulture = New Globalization.CultureInfo("en-GB")

Is there any way that we can "seal" the culture in the derived class so that it's hidden, but definitely read-only, and default?
We don't want any derived classes to be able to override it.

Many thanks,
Yogi
Chr Yoker, Oct 23, 2010


Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.2.2