CanHandle Method

HttpServer.dll

determines if this node can handle the line (by checking the first word);

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

Syntax

C#
public abstract bool CanHandle(
	string word,
	bool firstNode
)
Visual Basic (Declaration)
Public MustOverride Function CanHandle ( _
	word As String, _
	firstNode As Boolean _
) As Boolean
Visual C++
public:
virtual bool CanHandle(
	String^ word, 
	bool firstNode
) abstract

Parameters

word
Type: System..::.String
Controller char (word)
firstNode
Type: System..::.Boolean
First node on line, used since some nodes cannot exist on their own on a line.

Return Value

true if text belongs to this node type

See Also