C# Class ImageResizer.FluentExtensions.PathUtils

显示文件 Open project: benfoster/ImageResizer.FluentExtensions

Public Methods

Method Description
GetAppVirtualPath ( ) : string
ModifyPath ( string imagePath, string prefix, string container = null ) : string

Modifies the imagePath with the specified prefix and container name.

Method Details

GetAppVirtualPath() public static method

public static GetAppVirtualPath ( ) : string
return string

ModifyPath() public static method

Modifies the imagePath with the specified prefix and container name.
If the or are null or empty.
public static ModifyPath ( string imagePath, string prefix, string container = null ) : string
imagePath string The image path to modify
prefix string The prefix you would like to append to the path
container string The (optional) container (root directory) name
return string