C# 클래스 Rebel.Framework.Localization.Processing.ParameterEvaluators.PatternLookupEvaluator

Executes another pattern. Takes the format @OtherPatternKey or @OtherPatternKey(Parameter1, Parameter2, ... ParameterN) The specified parameters are passed on from the current parameters both with names and index. The latter provides a way to reuse the same pattern even though parameter names may be different where it's called. In that case the pattern should only use parameter numbers as in: Special pattern says "Hello {0}" If the key of the pattern to lookup is prefixed with '@' the name of the pattern is given by a parameter. For example @@PatternName(Parameter) If a parameter name is quoted ("My value" or 'My value') it is considered a string literal that is passed to the referenced pattern Parameters can be omitted to maintain ordinal positions, e.g. @Key(P1,,P3,,,"foo")
상속: IParameterEvaluator
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 메소드들

메소드 설명
GetValue ( EvaluationContext context ) : ParameterValue
PatternLookupEvaluator ( ) : System.Collections.Generic

메소드 상세

GetValue() 공개 메소드

public GetValue ( EvaluationContext context ) : ParameterValue
context EvaluationContext
리턴 ParameterValue

PatternLookupEvaluator() 공개 메소드

public PatternLookupEvaluator ( ) : System.Collections.Generic
리턴 System.Collections.Generic