C# Class KNappen.KNappenService.Utils

Show file Open project: knreise/KNappen

Public Methods

Method Description
EnsureRouteFolderExists ( ) : void
GetFilePath ( string file ) : string
GetRoutePath ( ) : string
GetRoutePath ( string file ) : string
ResolvePath ( string path ) : string
isFilenameSafe ( string filename ) : bool

Method Details

EnsureRouteFolderExists() public static method

public static EnsureRouteFolderExists ( ) : void
return void

GetFilePath() public static method

public static GetFilePath ( string file ) : string
file string
return string

GetRoutePath() public static method

public static GetRoutePath ( ) : string
return string

GetRoutePath() public static method

public static GetRoutePath ( string file ) : string
file string
return string

ResolvePath() public static method

public static ResolvePath ( string path ) : string
path string
return string

isFilenameSafe() public static method

public static isFilenameSafe ( string filename ) : bool
filename string
return bool