System.Web.HttpContext.GetLocalObjectFromFactory C# (CSharp) Method

GetLocalObjectFromFactory() static private method

static private GetLocalObjectFromFactory ( string virtualPath, string resourceKey, CultureInfo culture ) : object
virtualPath string
resourceKey string
culture System.Globalization.CultureInfo
return object
		static object GetLocalObjectFromFactory (string virtualPath, string resourceKey, CultureInfo culture)
		{
			IResourceProvider rp = GetResourceProvider (virtualPath, true);
			if (rp == null)
				return null;
			
			return rp.GetObject (resourceKey, culture);
		}