Bundling.Extensions.Handlers.BundleHttpHandler.GetBundleResponse C# (CSharp) Method

GetBundleResponse() private method

private GetBundleResponse ( Bundle bundle, BundleContext bundleContext ) : BundleResponse
bundle Bundle
bundleContext BundleContext
return BundleResponse
		private BundleResponse GetBundleResponse(Bundle bundle, BundleContext bundleContext)
		{
			BundleResponse response = bundle.CacheLookup(bundleContext);
			if (response == null || bundleContext.EnableInstrumentation)
			{
				response = bundle.GenerateBundleResponse(bundleContext);
				bundle.UpdateCache(bundleContext, response);
			}

			return response;
		}