C# Class B4BCore.Internal.RelPathSearcher

This class helps with relative paths that contain a search string
Mostrar archivo Open project: JonPSmith/MvcUsingBower Class Usage Examples

Public Methods

Method Description
ContainsInvalidSearchChars ( string relFilePath ) : bool
ContainsSearchChars ( string relFilePath ) : bool
FindAllFiles ( string relFilePath, Action errorHandler = null, string originalRelPath = null ) : IEnumerable
RelPathSearcher ( string>.Func getActualFilePathFromVirtualPath ) : System
UnpackBundle ( IEnumerable relFiles, Action errorHandler = null ) : IEnumerable

Private Methods

Method Description
SplitRelDirPathAroundSearchDir ( string relDirPath, int firstSearchCharIndex ) : string[]

This returns a array of three parts 0 - directories before the search dir - can be empty 1 - the directory search string 2 - the directories after the search dir - can be empty

Method Details

ContainsInvalidSearchChars() public static method

public static ContainsInvalidSearchChars ( string relFilePath ) : bool
relFilePath string
return bool

ContainsSearchChars() public static method

public static ContainsSearchChars ( string relFilePath ) : bool
relFilePath string
return bool

FindAllFiles() public method

public FindAllFiles ( string relFilePath, Action errorHandler = null, string originalRelPath = null ) : IEnumerable
relFilePath string
errorHandler Action
originalRelPath string
return IEnumerable

RelPathSearcher() public method

public RelPathSearcher ( string>.Func getActualFilePathFromVirtualPath ) : System
getActualFilePathFromVirtualPath string>.Func
return System

UnpackBundle() public method

public UnpackBundle ( IEnumerable relFiles, Action errorHandler = null ) : IEnumerable
relFiles IEnumerable
errorHandler Action
return IEnumerable