From 89dfefe0d65f8fbe8924465ca936330909190807 Mon Sep 17 00:00:00 2001 From: eeichinger Date: Thu, 6 Nov 2008 19:24:05 +0000 Subject: [PATCH] fixed LocalResourceManager bug --- .../Web/Support/LocalResourceManager.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/Spring/Spring.Web/Web/Support/LocalResourceManager.cs b/src/Spring/Spring.Web/Web/Support/LocalResourceManager.cs index bfad2fe7..8bfbf5d6 100644 --- a/src/Spring/Spring.Web/Web/Support/LocalResourceManager.cs +++ b/src/Spring/Spring.Web/Web/Support/LocalResourceManager.cs @@ -89,6 +89,24 @@ namespace Spring.Web.Support } return null; } + + /// + ///Provides the implementation for finding a . + /// + /// + /// + ///The specified . + /// + /// + ///The to look for. + ///If the cannot be loaded, try parent objects to see if they exist. + ///If true and if the has not been loaded yet, load it. + ///The main assembly does not contain a .resources file and it is required to look up a resource. + protected override ResourceSet InternalGetResourceSet( CultureInfo culture, bool createIfNotExists, bool tryParents ) + { + //return base.InternalGetResourceSet( culture, createIfNotExists, tryParents ); + return null; + } } }