Back to list
Views:   5.1K
Replies:  0

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,
Chr Yoker, Oct 23, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.