Aqueduct.Web.WebContext.ResolvePath C# (CSharp) Méthode

ResolvePath() public méthode

Resolves virtualPaths relative to a website's folder
public ResolvePath ( string virtualPath ) : string
virtualPath string Path relative to the website folder
Résultat string
        public override string ResolvePath(string virtualPath)
        {
			string processedPath = virtualPath.IsNullOrEmpty() ? virtualPath : virtualPath.TrimStart('~', '/');
			return Path.Combine(HttpRuntime.AppDomainAppPath, processedPath);
        }
    }