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 override bool CanHandle(
	string word,
	bool firstNode
)
Visual Basic (Declaration)
Public Overrides Function CanHandle ( _
	word As String, _
	firstNode As Boolean _
) As Boolean
Visual C++
public:
virtual bool CanHandle(
	String^ word, 
	bool firstNode
) override

Parameters

word
Type: System..::.String
Controller char (word)
firstNode
Type: System..::.Boolean
First node on line.

Return Value

True if text belongs to this node type

See Also