C# Class Rosetta.Translation.WhiteSpaceFormatter

Formats by adding whitespaces.
Inheritance: IFormatter
ファイルを表示 Open project: andry-tino/Rosetta

Protected Properties

Property Type Description
spaceBefore string

Public Methods

Method Description
FormatLine ( string line ) : string

Formats a line.

WhiteSpaceFormatter ( int indentationLevel, int spaceSize = 2 ) : System

Initializes a new instance of the WhiteSpaceFormatter class.

Protected Methods

Method Description
InitializeSpaceBefore ( ) : void

Method Details

FormatLine() public method

Formats a line.
public FormatLine ( string line ) : string
line string The line to format.
return string

InitializeSpaceBefore() protected method

protected InitializeSpaceBefore ( ) : void
return void

WhiteSpaceFormatter() public method

Initializes a new instance of the WhiteSpaceFormatter class.
public WhiteSpaceFormatter ( int indentationLevel, int spaceSize = 2 ) : System
indentationLevel int
spaceSize int
return System

Property Details

spaceBefore protected_oe property

protected string spaceBefore
return string