C# Class NVelocity.Runtime.Directive.Directive

Base class for all directives used in Velocity.
Afficher le fichier Open project: rasmus-toftdahl-olesen/NVelocity

Protected Properties

Свойство Type Description
runtimeServices IRuntimeServices

Méthodes publiques

Méthode Description
CreateNestedDirective ( String name ) : Directive
Init ( IRuntimeServices rs, IInternalContextAdapter context, INode node ) : void

How this directive is to be initialized.

Render ( IInternalContextAdapter context, TextWriter writer, INode node ) : bool

How this directive is to be rendered

SetLocation ( int line, int column ) : void

Allows the template location to be set

SupportsNestedDirective ( String name ) : bool

Method Details

CreateNestedDirective() public méthode

public CreateNestedDirective ( String name ) : Directive
name String
Résultat Directive

Init() public méthode

How this directive is to be initialized.
public Init ( IRuntimeServices rs, IInternalContextAdapter context, INode node ) : void
rs IRuntimeServices
context IInternalContextAdapter
node INode
Résultat void

Render() public abstract méthode

How this directive is to be rendered
public abstract Render ( IInternalContextAdapter context, TextWriter writer, INode node ) : bool
context IInternalContextAdapter
writer System.IO.TextWriter
node INode
Résultat bool

SetLocation() public méthode

Allows the template location to be set
public SetLocation ( int line, int column ) : void
line int
column int
Résultat void

SupportsNestedDirective() public méthode

public SupportsNestedDirective ( String name ) : bool
name String
Résultat bool

Property Details

runtimeServices protected_oe property

protected IRuntimeServices runtimeServices
Résultat IRuntimeServices