Bundling.Extensions.Helpers.BundleResponseFilter.ReplaceBundleUrls C# (CSharp) Метод

ReplaceBundleUrls() приватный Метод

private ReplaceBundleUrls ( string html ) : string
html string
Результат string
		private string ReplaceBundleUrls(string html)
		{
			foreach (var bundlePath in this.BundlePaths)
			{
				html = Regex.Replace(
					html,
					string.Format("(?<bundle_path>{0})\\?v=(?<content_hash>[^\"\\s/<>']*)", bundlePath),
					m => this.RewriteBundleUrl(m.Groups["bundle_path"].Value, m.Groups["content_hash"].Value));
			}

			return html;
		}