CheckIntendation Method (LineInfo, Int32, Int32)

HttpServer.dll

Check and validate indendation

Namespace:  HttpServer.Rendering.Haml
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
protected void CheckIntendation(
	LineInfo line,
	out int ws,
	out int intendation
)
Visual Basic (Declaration)
Protected Sub CheckIntendation ( _
	line As LineInfo, _
	<OutAttribute> ByRef ws As Integer, _
	<OutAttribute> ByRef intendation As Integer _
)
Visual C++
protected:
void CheckIntendation(
	LineInfo^ line, 
	[OutAttribute] int% ws, 
	[OutAttribute] int% intendation
)

Parameters

line
Type: HttpServer.Rendering.Haml..::.LineInfo
line to check
ws
Type: System..::.Int32 %
number of whitespaces
intendation
Type: System..::.Int32 %
number of indendations (2 ws = 1 intend, 1 tab = 1 intend)

See Also