Example #1
0
 string IDirectoryAdapter.MapPath(string path)
 {
     return(pathFinder.MapPath(path));
 }
 ///<summary>
 /// Gets the MapPath of the path.
 ///
 /// This will be relative to the root web directory if we're in a
 /// web site and otherwise to the executing assembly.
 ///</summary>
 ///<param name="path"></param>
 ///<returns></returns>
 public string MapPath(string path)
 {
     return(_PathFinder.MapPath(path));
 }