C# Class SharpTAL.TemplateProgram.ProgramMacro

The TemplateProgramMacro represents part (macro) of another TemplateProgram, and is used for the METAL implementation. The two uses for this class are: 1 - metal:define-macro results in a TemplateProgramMacro that is the macro 2 - metal:fill-slot results in a TemplateProgramMacro that is a parameter to metal:use-macro
Inheritance: IProgram
Datei anzeigen Open project: lck/SharpTAL Class Usage Examples

Public Methods

Method Description
ProgramMacro ( string name, int start, int endTagCommandLocation ) : System.Collections.Generic

The startRange and endRange are indexes into the parent program command list, and defines the range of commands that we can execute

ToString ( ) : string

Method Details

ProgramMacro() public method

The startRange and endRange are indexes into the parent program command list, and defines the range of commands that we can execute
public ProgramMacro ( string name, int start, int endTagCommandLocation ) : System.Collections.Generic
name string
start int
endTagCommandLocation int
return System.Collections.Generic

ToString() public method

public ToString ( ) : string
return string