C# Class Rosetta.Translation.CodePerfect

Utility class fixing code format.
Mostra file Open project: andry-tino/Rosetta

Public Methods

Method Description
EnsureNoHeadingTrailingWhiteSpaces ( this input ) : string

EnsureOnlyOneWhiteSpace ( this input ) : string

Removes all sequences of consecutive whitespaces in order to ensure that two words are never separated by more than one single whitespace character.

Method Details

EnsureNoHeadingTrailingWhiteSpaces() public static method

public static EnsureNoHeadingTrailingWhiteSpaces ( this input ) : string
input this
return string

EnsureOnlyOneWhiteSpace() public static method

Removes all sequences of consecutive whitespaces in order to ensure that two words are never separated by more than one single whitespace character.
public static EnsureOnlyOneWhiteSpace ( this input ) : string
input this
return string