/[dotgnu-pnet]/pnetlib/runtime/System/Resources/ResourceManager.cs
ViewVC logotype

Diff of /pnetlib/runtime/System/Resources/ResourceManager.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by rweather, Mon Aug 4 06:17:01 2003 UTC revision 1.16 by rweather, Fri Oct 17 00:14:29 2003 UTC
# Line 564  class ResourceManager Line 564  class ResourceManager
564                                          }                                          }
565    
566                                          // Try loading the resources from a satellite assembly.                                          // Try loading the resources from a satellite assembly.
567                                            String assemblyName = MainAssembly.FullName;
568                                            if(assemblyName != null)
569                                            {
570                                                    int index = assemblyName.IndexOf(',');
571                                                    if(index != -1)
572                                                    {
573                                                            assemblyName = assemblyName.Substring(0, index);
574                                                    }
575                                            }
576                                          String path = MainAssembly.GetSatellitePath                                          String path = MainAssembly.GetSatellitePath
577                                                  (culture.Name + Path.DirectorySeparatorChar +                                                  (culture.Name + Path.DirectorySeparatorChar +
578                                                   MainAssembly.FullName + ".resources.dll");                                                   assemblyName + ".resources.dll");
579                                          if(path != null)                                          if(path != null)
580                                          {                                          {
581                                                  error = 1;                                                  error = 1;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26