C# 클래스 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
상속: IProgram
파일 보기 프로젝트 열기: lck/SharpTAL 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ProgramMacro() 공개 메소드

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
리턴 System.Collections.Generic

ToString() 공개 메소드

public ToString ( ) : string
리턴 string