C# Class Framework.Mvc.Helpers.PathHelper

Provides helper methods for paths processing.
显示文件 Open project: coreframework/Core-Framework

Public Properties

Property Type Description
PathSeparator String
VirtualPathStart String

Public Methods

Method Description
SplitPath ( String path ) : IEnumerable

Splits path to chains using PathSeparator.

TrimVirtualPathStart ( String path ) : String

Trims the virtual path start.

Method Details

SplitPath() public static method

Splits path to chains using PathSeparator.
public static SplitPath ( String path ) : IEnumerable
path String The path to split.
return IEnumerable

TrimVirtualPathStart() public static method

Trims the virtual path start.
public static TrimVirtualPathStart ( String path ) : String
path String The virtual path.
return String

Property Details

PathSeparator public_oe static_oe property

Path separator symbol (/).
public static String PathSeparator
return String

VirtualPathStart public_oe static_oe property

Virtual path start (~/).
public static String VirtualPathStart
return String