C# 클래스 Alpinely.TownCrier.TemplateParser

Template parser which uses JQuery Templating style tokens such as {%=FirstName%} Tokens are case-insensitive
상속: ITemplateParser
파일 보기 프로젝트 열기: endeavour/town-crier 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
RegExString string
RegExToken System.Text.RegularExpressions.Regex

공개 메소드들

메소드 설명
ReplaceTokens ( string templateText, string>.IDictionary tokenValues ) : string

Replaces tokens in the template text with the values from the supplied dictionary

TemplateParser ( ) : System

메소드 상세

ReplaceTokens() 공개 메소드

Replaces tokens in the template text with the values from the supplied dictionary
public ReplaceTokens ( string templateText, string>.IDictionary tokenValues ) : string
templateText string The template text
tokenValues string>.IDictionary Dictionary mapping token names to values
리턴 string

TemplateParser() 공개 메소드

public TemplateParser ( ) : System
리턴 System

프로퍼티 상세

RegExString 보호되어 있는 프로퍼티

protected string RegExString
리턴 string

RegExToken 보호되어 있는 프로퍼티

protected Regex,System.Text.RegularExpressions RegExToken
리턴 System.Text.RegularExpressions.Regex