System.Web.Handlers.ScriptResourceHandler.AssemblyResourceLoader.GetResourceUrl C# (CSharp) Method

GetResourceUrl() static private method

static private GetResourceUrl ( Assembly assembly, string resourceName, bool notifyScriptLoaded ) : string
assembly System.Reflection.Assembly
resourceName string
notifyScriptLoaded bool
return string
		internal static string GetResourceUrl (Assembly assembly, string resourceName, bool notifyScriptLoaded)
		{
			if (assembly == null)
				return String.Empty;

			KeyedHashAlgorithm kha = ReusableHashAlgorithm;
			if (kha != null) {
				return GetResourceUrl (kha, assembly, resourceName, notifyScriptLoaded);
			} else {
				MachineKeySection mks = MachineKeySection.Config;
				using (kha = MachineKeySectionUtils.GetValidationAlgorithm (mks)) {
					kha.Key = MachineKeySectionUtils.GetValidationKey (mks);
					return GetResourceUrl (kha, assembly, resourceName, notifyScriptLoaded);
				}
			}
		}

Same methods

ScriptResourceHandler.AssemblyResourceLoader::GetResourceUrl ( KeyedHashAlgorithm kha, Assembly assembly, string resourceName, bool notifyScriptLoaded ) : string
ScriptResourceHandler.AssemblyResourceLoader::GetResourceUrl ( Type type, string resourceName ) : string