PeerCastStation.UI.HTTP.HTMLHost.GetPhysicalPath C# (CSharp) Method

GetPhysicalPath() private method

private GetPhysicalPath ( OWINEnv env ) : string
env OWINEnv
return string
    private string GetPhysicalPath(OWINEnv env)
    {
      string physical_path;
      if (virtualPhysicalPathMap.TryGetValue(env.RequestPathBase, out physical_path)) {
        return Path.GetFullPath(Path.Combine(physical_path, env.RequestPath));
      }
      else {
        return null;
      }
    }