C# Class FileScanner.FileParsing.ParseStrategyExtensions

Extends the IParseStrategy interface to make usage more intuitive and simple - uses the decorator pattern.
ファイルを表示 Open project: kzemek/FileScanner

Public Methods

Method Description
ReplaceCapitalLetters ( this parseStrategy ) : IParseStrategy

Enables replacing uppercase letters with their lowercase equivalents using the decorator pattern.

ReplaceNonASCII ( this parseStrategy ) : IParseStrategy

Enables replacing non ascii letters with diacritic-less equivalents.

Method Details

ReplaceCapitalLetters() public static method

Enables replacing uppercase letters with their lowercase equivalents using the decorator pattern.
public static ReplaceCapitalLetters ( this parseStrategy ) : IParseStrategy
parseStrategy this The parse strategy on which we deployed the function.
return IParseStrategy

ReplaceNonASCII() public static method

Enables replacing non ascii letters with diacritic-less equivalents.
public static ReplaceNonASCII ( this parseStrategy ) : IParseStrategy
parseStrategy this The parse strategy on which we deployed the function.
return IParseStrategy