Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 939319febe
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.7 kb
#region Usings
using System.IO;
using System.Web.Hosting;
using Microsoft.Scripting;
namespace System.Web.Mvc.IronRuby.Core
public class VirtualPathStreamContentProvider : StreamContentProvider
private readonly string _fileName;
private readonly IPathProvider _pathProvider;
public VirtualPathStreamContentProvider(string fileName, IPathProvider pathProvider)
_fileName = fileName;
_pathProvider = pathProvider;
#region Overrides of StreamContentProvider
public override Stream GetStream()
return _pathProvider.Open(_fileName);
Jump to Line
Something went wrong with that request. Please try again.