C# 클래스 Rebel.Cms.Web.Macros.MacroSyntaxParser

Utility class for parsing macro syntax in string content
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AliasMatch System.Text.RegularExpressions.Regex
MacroMatch System.Text.RegularExpressions.Regex
ParamMatch System.Text.RegularExpressions.Regex

공개 메소드들

메소드 설명
Parse ( string input, string>.Func macroFoundCallback, IEnumerable &results ) : string

Finds a macro placeholder amongst the input content (generally html) and renders the macro content into the output.

메소드 상세

Parse() 공개 메소드

Finds a macro placeholder amongst the input content (generally html) and renders the macro content into the output.
public Parse ( string input, string>.Func macroFoundCallback, IEnumerable &results ) : string
input string
macroFoundCallback string>.Func Callback that is fired when a macro is found, this callback should return the macro contents based on the callback parameters
results IEnumerable
리턴 string

프로퍼티 상세

AliasMatch 공개적으로 정적으로 프로퍼티

public static Regex,System.Text.RegularExpressions AliasMatch
리턴 System.Text.RegularExpressions.Regex

MacroMatch 공개적으로 정적으로 프로퍼티

public static Regex,System.Text.RegularExpressions MacroMatch
리턴 System.Text.RegularExpressions.Regex

ParamMatch 공개적으로 정적으로 프로퍼티

public static Regex,System.Text.RegularExpressions ParamMatch
리턴 System.Text.RegularExpressions.Regex