ResourceSets

  • Thread starter Thread starter =?iso-8859-1?Q?Rub=E9n_Altman?=
  • Start date Start date
?

=?iso-8859-1?Q?Rub=E9n_Altman?=

Does anybody know weather there is a way to iterate over a
ResourceSet when using .NET Framework 1.0? I've seen in
the 1.1 documentation that ResourceSet class implements
GetEnumerator method, but I can't find nothing similar in
the old version.

I've also try to inherit the ResourceSet class to make the
Reader property visible, but I don't know how to create
the instances I need from the given ResourceManager.

I hope I was clear enough. Thanks in advance for your help.

Rubén
 
What is a ResourceSet?


Does anybody know weather there is a way to iterate over a
ResourceSet when using .NET Framework 1.0? I've seen in
the 1.1 documentation that ResourceSet class implements
GetEnumerator method, but I can't find nothing similar in
the old version.

I've also try to inherit the ResourceSet class to make the
Reader property visible, but I don't know how to create
the instances I need from the given ResourceManager.

I hope I was clear enough. Thanks in advance for your help.

Rubén
 
Sorry, I was talking about class
System.Resources.ResourceSet:
"It Stores all the resources localized for one particular
culture, ignoring all other cultures, including any
fallback rules."
 
Well, finally I found a way to get around this problem. I
created my own ResourceSet class, that makes the reader
property visible.
One of the constructors of the ResourceManager class
allows to specify the type to use to create resource sets,
so I use mine, and then iterate over it using the public
reader property.
 
Back
Top