DescriptionAttribute question
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Well, i have created a localized version of the well known "DescriptionAttribute" attribute that derived from System.ComponentModel.DescriptionAttribue. This attribute loads the description from the resource file (you may see the SRDescriptionAttribute code in Reflector). However, when i switch a language at runtime - the old description still are shown and only descriptions that i access for the first time use the new language. Unfortunately the "public override string Description" property is not even executed when an already loaded description is accessed again. Any solution about how to make the system get the description again BUT NOT from the cache? Thanks in advanced, ilan!