Localizing Strings with an Extension Method
This is rather uncommon situation, but we needed a way to easily translate strings in our code against the resources deployed in 12\Resources. We created extension methods for that:
{
return Localize(source, (uint) Thread.CurrentThread.CurrentCulture.LCID);
}
…