ServiceStack.AppHostBase.GetWebRootPath C# (CSharp) Метод

GetWebRootPath() публичный Метод

The FilePath used in Virtual File Sources
public GetWebRootPath ( ) : string
Результат string
        public override string GetWebRootPath()
        {
            if (app == null)
                return base.GetWebRootPath();

            var env = app.ApplicationServices.GetService<IHostingEnvironment>();
            return env.WebRootPath ?? env.ContentRootPath;
        }