Bloom.Api.ServerBase.GetLocalPathWithoutQuery C# (CSharp) Method

GetLocalPathWithoutQuery() protected static method

protected static GetLocalPathWithoutQuery ( IRequestInfo info ) : string
info IRequestInfo
return string
        protected internal static string GetLocalPathWithoutQuery(IRequestInfo info)
        {
            return GetLocalPathWithoutQuery(info.LocalPathWithoutQuery);
        }

Same methods

ServerBase::GetLocalPathWithoutQuery ( string localPath ) : string

Usage Example

Example #1
0
 /// <summary>
 /// Get the actual local path that the server would retrieve given a Bloom URL
 /// that ends up at a local file. For now it is mainly useful for things in the book folder; it doesn't have
 /// all the smarts to locate files shipped with the application, it is just concerned with reversing
 /// the various tricks we use to encode paths as URLs.
 /// </summary>
 public string LocalPath()
 {
     return(ServerBase.GetLocalPathWithoutQuery(this._requestInfo));
 }