public void SetStaticFiles(string name, string physicalPath, string requestPath = "") { if (!StaticFilesTable.Any(x => x.Key != name && x.Value.PhysicalPath == physicalPath)) { StaticFilesTable.Add(name, new StaticFilesTableItem { PhysicalPath = physicalPath, RequestPath = requestPath }); } }
public OryxWebModule() { RouteTable = new RouteTable(); StaticFilesTable = new StaticFilesTable(); }