C# Class FilePathHelper, code

Show file Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
FilePathHelper ( IHostingEnvironment env )
GetPhysicalPath ( string relativepath ) : string
GetVirtualPath ( string physicalPath ) : string

Method Details

FilePathHelper() public method

public FilePathHelper ( IHostingEnvironment env )
env IHostingEnvironment

GetPhysicalPath() public method

public GetPhysicalPath ( string relativepath ) : string
relativepath string
return string

GetVirtualPath() public method

public GetVirtualPath ( string physicalPath ) : string
physicalPath string
return string