Lines Matching defs:GettextResourceSet
23 * containing just one class, a subclass of GettextResourceSet. They are thus
76 : base (baseName, Assembly.GetCallingAssembly(), typeof (GettextResourceSet)) {
85 : base (baseName, assembly, typeof (GettextResourceSet)) {
119 // GettextResourceSet subclass, but this assumption would break the day
182 private static GettextResourceSet InstantiateResourceSet (Assembly satelliteAssembly, String resourceName, CultureInfo culture) {
187 return (GettextResourceSet) constructor.Invoke(null);
190 private static GettextResourceSet[] EmptyResourceSetArray = new GettextResourceSet[0];
192 // Cache for already loaded GettextResourceSet cascades.
193 private Hashtable /* CultureInfo -> GettextResourceSet[] */ Loaded = new Hashtable();
196 /// Returns the array of <c>GettextResourceSet</c>s for a given culture,
199 private GettextResourceSet[] GetResourceSetsFor (CultureInfo culture) {
202 GettextResourceSet[] result = (GettextResourceSet[]) Loaded[culture];
207 result = (GettextResourceSet[]) Loaded[culture];
214 // Use a satellite assembly as primary GettextResourceSet, and
216 GettextResourceSet[] parentResult = GetResourceSetsFor(culture.Parent);
224 GettextResourceSet satelliteResourceSet;
233 result = new GettextResourceSet[1+parentResult.Length];
252 /// Releases all loaded <c>GettextResourceSet</c>s and their assemblies.
268 foreach (GettextResourceSet rs in GetResourceSetsFor(culture)) {
290 foreach (GettextResourceSet rs in GetResourceSetsFor(culture)) {
313 foreach (GettextResourceSet rs in GetResourceSetsFor(culture)) {
339 foreach (GettextResourceSet rs in GetResourceSetsFor(culture)) {
422 public class GettextResourceSet : ResourceSet {
431 protected GettextResourceSet ()
441 public GettextResourceSet (IResourceReader reader)
451 public GettextResourceSet (Stream stream)
461 public GettextResourceSet (String fileName)