C# Class TerrificNet.ViewEngine.IO.FileSystem.FilePathHelper

Inheritance: IPathHelper
Exibir arquivo Open project: namics/TerrificNet Class Usage Examples

Public Methods

Method Description
ChangeExtension ( PathInfo fileName, string extension ) : PathInfo
Combine ( ) : PathInfo
GetDirectoryName ( PathInfo filePath ) : PathInfo
GetExtension ( PathInfo path ) : string
GetFileNameWithoutExtension ( PathInfo path ) : PathInfo

Method Details

ChangeExtension() public method

public ChangeExtension ( PathInfo fileName, string extension ) : PathInfo
fileName PathInfo
extension string
return PathInfo

Combine() public method

public Combine ( ) : PathInfo
return PathInfo

GetDirectoryName() public method

public GetDirectoryName ( PathInfo filePath ) : PathInfo
filePath PathInfo
return PathInfo

GetExtension() public method

public GetExtension ( PathInfo path ) : string
path PathInfo
return string

GetFileNameWithoutExtension() public method

public GetFileNameWithoutExtension ( PathInfo path ) : PathInfo
path PathInfo
return PathInfo